Determines whether the user has the specified permission for the given access key.
Namespace:
Aloe.EnterpriseOne.Model.Systems.Security
Assembly:
Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntaxpublic bool HasPermission(
AccessKey accessKey,
PermissionType permissionType
)
Public Function HasPermission (
accessKey As AccessKey,
permissionType As PermissionType
) As Boolean
public:
bool HasPermission(
AccessKey^ accessKey,
PermissionType^ permissionType
)
member HasPermission :
accessKey : AccessKey *
permissionType : PermissionType -> bool
Parameters
- accessKey
- Type: Aloe.EnterpriseOne.Model.Systems.SecurityAccessKey
The access key. - permissionType
- Type: Aloe.EnterpriseOne.Model.Systems.SecurityPermissionType
Type of the permission.
Return Value
Type:
Booleantrue if the specified access key has permission; otherwise,
false.
Exceptions
See Also