Security API allows you to work with permissions in your application.
Permissions need to be set only once per user session. That's why the Security API is best used in the After Successful Login event.
Functions
Function |
Description |
Returns the current user group name. Makes more sense to use with static permissions where each user belongs to a single user group. |
|
Returns an array with all user groups. |
|
Returns the current Username. |
|
Returns the current Display Name. |
|
Set the current Display Name. |
|
Returns true if the user logged in as Guest, returns false otherwise. |
|
Returns true if the user is an Admin, returns false otherwise. |
|
Returns true if the user is logged in, returns false otherwise. |
|
Logs the user in, no redirects. |
|
Logs the user out, no redirects. |
|
These functions get or set the OwnerID for a specific table when Advanced Security options like Users can see and edit their own data are in use. |
|
This function checks the username and password and returns true if the username/password are correct, returns false otherwise. |
|
Returns an array with user data from the Login table. Returns false if the user was not found. |
|
Returns an array with the current user data from the Login table. |
|
Gets/sets permissions for a certain table. |
|
Specifies which pages the current user can access. |
See also: