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
)
Public Function GetLevel (
item As AccessTo
) As AccessLevel
public:
virtual AccessLevel GetLevel(
AccessTo item
) sealed
Parameters
- item
- Type: AskiaPortalCmnAccessTo
Indicates the `AskiaPortal` permission to obtain.
Return Value
Type:
AccessLevelThe 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