HasPermission |
Scroll |
Checks if the currently logged on user has the specified permission(s) for the specified object.
Namespace: Therefore.API
Visual Basic Public Overridable Function HasPermission ( _ nObjType As TheObjectType, _ nObjNo As Integer, _ nSubObjNo As Integer, _ pAccessMask As TheRoleAccessMask _ ) As Boolean C# public virtual bool HasPermission ( TheObjectType nObjType, int nObjNo, int nSubObjNo, TheRoleAccessMask pAccessMask )
Parameters nObjType The type of the object to query permissions.
nObjNo The number of the object to query permissions.
nSubObjNo The number of the sub-object to query permissions.
pAccessMask A TheRoleAccessMask object containing the permissions to query.
Return Value
|
|
Requires Connection You must be connected to the Thereforeā¢ Server when calling this method. |