Difference between revisions of "ACCESS()"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
Yvonne.milne (Talk | contribs) |
||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
Function to return user access group | Function to return user access group | ||
− | |||
==Syntax== | ==Syntax== | ||
ACCESS() | ACCESS() | ||
− | |||
==See Also== | ==See Also== | ||
− | + | [[GETENV()]], [[GETGID()]], [[GETGRNAM()]], [[GETPID()]], [[GETPROT()]], [[GETUID()]], [[SETPROT()]], [[STR()]] | |
− | + | ||
==Description== | ==Description== | ||
The ACCESS() function returns the group number to which the user has been assigned by the system manager. | The ACCESS() function returns the group number to which the user has been assigned by the system manager. | ||
− | |||
==Example== | ==Example== | ||
Line 21: | Line 17: | ||
endif | endif | ||
</code> | </code> | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Environment]] | [[Category:Environment]] | ||
[[Category:Environment Functions]] | [[Category:Environment Functions]] |
Revision as of 10:22, 26 October 2011
Contents
Purpose
Function to return user access group
Syntax
ACCESS()
See Also
GETENV(), GETGID(), GETGRNAM(), GETPID(), GETPROT(), GETUID(), 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