Difference between revisions of "ACCESS()"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Class==
 
Environment
 
 
 
 
==Purpose==
 
==Purpose==
 
Function to return user access group
 
Function to return user access group
Line 12: Line 8:
  
 
==See Also==
 
==See Also==
[[CREATE]], [[GETENV()]], [[GETGID()]], [[GETPID()]], [[GETPROT()]], [[GETUID()]], [[MODIFY STRUCTURE]], [[SETPROT()]], [[STR()]]
+
[[CREATE]], [[GETENV()]], [[GETGID()]], [[GETGRNAM()]], [[GETPID()]], [[GETPROT()]], [[GETUID()]], [[MODIFY STRUCTURE]], [[SETPROT()]], [[STR()]]
  
  
Line 22: Line 18:
 
<code lang="recital">
 
<code lang="recital">
 
if access() > 100
 
if access() > 100
dialog box "Sorry, access denied."
+
    dialog box "Sorry, access denied."
 
endif
 
endif
 
</code>
 
</code>
Line 28: Line 24:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital Server, Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:Environment]]
 +
[[Category:Environment Functions]]

Latest revision as of 16:36, 25 November 2009

Purpose

Function to return user access group


Syntax

ACCESS()


See Also

CREATE, GETENV(), GETGID(), GETGRNAM(), GETPID(), GETPROT(), GETUID(), MODIFY STRUCTURE, SETPROT(), STR()


Description

The ACCESS() function returns the group number to which the user has been assigned by the system manager.


Example

if access() > 100
    dialog box "Sorry, access denied."
endif


Products

Recital Server, Recital