Click or drag to resize

PermissionsGetLevel Method (AccessTo)

Returns the value of the specified `AskiaPortal` permission.

Namespace:  AskiaPortalCmn.Common
Assembly:  AskiaPortalCmn (in AskiaPortalCmn.dll) Version: 1.7.0-build068
Syntax
public AccessLevel GetLevel(
	AccessTo item
)

Parameters

item
Type: AskiaPortalCmnAccessTo
Indicates the `AskiaPortal` permission to obtain.

Return Value

Type: AccessLevel
The permission value associated with the item.

Implements

IPermissionsGetLevel(AccessTo)
Remarks
If the permission is not defined, it always return None by default.
If the user is a super administrator, it always return FullControl by default.
See Also