HasPermission |
Scroll |
Checks if a specific user has the specified permission(s) for the specified object.
Namespace: Therefore.API
Visual Basic Public Overridable Function HasPermission ( _ strDomain As String, _ strUser As String, _ nObjType As TheObjectType, _ nObjNo As Integer, _ nSubObjNo As Integer, _ pAccessMask As TheRoleAccessMask _ ) As Boolean C# public virtual bool HasPermission ( String strDomain, String strUser, TheObjectType nObjType, int nObjNo, int nSubObjNo, TheAccessMask pAccessMask )
Parameters strDomain The domain of the user in question.
strUser The name of the user in question.
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. |