SecurityKeySet Class [AX 2012]
The SecurityKeySet class provides a set of security keys.
| Method | Description | |
|---|---|---|
| access | |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| cnt | Counts the keys in the set. |
| cnt2Id | Retrieves the key ID, based on key index. |
| disabledByConfigurationKey | Verifies whether the security key was disabled by a configuration key. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| fieldAccess | |
| fieldTouched | Checks whether the table field has been touched. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| hasSecurityKeyChildrenAccess | Checks the access type for which the security key children have access. |
| hasTableChildrenAccess | Retrieves the access type that children have for the table. |
| loadGroupRights | Loads the user group rights for the user group. |
| loadUserRights | Loads user rights, based on the user. |
| menuItemAccess | |
| menuItemInfo | Retrieves menu item information, based on the security key. |
| menuItemTouched | Checks whether the menu item has been touched. |
| new | Initializes a new instance of the Object class. (Overrides the new Method.) |
| notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) |
| notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) |
| objectOnServer | Determines whether the object is on a server. (Inherited from Object.) |
| owner | Returns the instance that owns the object. (Inherited from Object.) |
| pack | Serializes the current instance of the SecurityKeySet class. |
| packTouched | Packs the touched elements. |
| secureNodeAccess | |
| secureNodeInfo | Retrieves the information about the secure node. |
| secureNodeTouched | Verifies whether the secure node has been touched. |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| tableAccess | |
| tableInfo | Retrieves the information about a table, based on the security key. |
| tableTouched | Verifies whether the table has been touched. |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| touchedByUser | Verifies whether the security key has been touched. |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::crossCompanyCheck | Finds the legal entities for which a user has view access. |
| ::getMenuItemAccess | Retrieves the access type for a given menu item. |
| ::getSecureNodeAccess | Retrieves the access type for a given secure node. |
| ::reloadDomainRestrictions | Reloads domain restrictions. |
Security keys have an access property that is set to no access, view, edit, new, or delete. A value of delete grants full access.
The LoadUserRights method uses the syssecurity table to insert user rights into the security key tree (which is a data structure in the kernel).
The LoadUserGroupRights method uses the syssecurity table to insert user group rights into the security key tree.
The new method creates a new security key tree where all nodes are disabled.
Community Additions
ADD
Show: