Versions Compared
Version | Old Version 3 | New Version Current |
---|---|---|
Changes made by | ||
Saved on |
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Function Information
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
|
system.hasPermission | Returns a boolean representing permission assignment of the current user. |
Function | system.hasPermission(“Permission Name”); |
Description | Checks to see if the currently logged-in user has the provided Permission Name. If the user is assigned the permission, the function returns 1. If the user is not assigned the permission, it returns 0. |
system.login | Logs on with the provided user information. |
Function | system.login(“UserID”, “Password”); |
Description | Attempts to login log in to a user with the provided UserID and Password. If the user does not have a password, only a blank Password (““) may be provided, or the parameter must be left out. If an incorrect UserID or Password is given, no error will pop up, but no user will be logged in. |
system.logout | Logs out the current user. |
Function | system.logout(); |
Description | Logs out the currently logged-in user. If no user is logged in, no error will pop up. |