Click or drag to resize

UserHasPermission Method

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
Syntax
public bool HasPermission(
	AccessKey accessKey,
	PermissionType permissionType
)

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: Boolean
true if the specified access key has permission; otherwise, false.
Exceptions
ExceptionCondition
InvalidOperationExceptionPermissionType
See Also