Queries whether the user has a given right. Returns True if the user has the right. Returns False if the user does not have the right.
|
Syntax:
|
Rights('string'RIGHT)
|
Parameters:
|
string: An Alpha string, the name of a right, with the RIGHT literal.
|
Returns:
|
Boolean (TRUE) if the user has the given right.
|
Example:
|
Rights('right #4'RIGHT) returns TRUE if the user has right #4.
|
See also:
|
GroupAdd, User
How Do I Limit Functionality According to the User Logged On?
The Online and Rich Client Samples projects (program SE02 and RSE02)
|