Метод | Описание | |
---|---|---|
GetPermissionLevelByName ( string permissionLevel ) : GlymaPermissionLevel | ||
GetPermissionLevelName ( GlymaPermissionLevel permissionLevel ) : string | ||
IsPermissionGreaterOrEqual ( GlymaPermissionLevel permissionLevel, GlymaPermissionLevel maxPermissionLevel ) : bool | ||
IsPermissionGreaterOrEqual ( string permissionName, string maxPermission ) : bool |
Helper method used for checking if one Glyma permission is greater than or less than another.
|
public static GetPermissionLevelByName ( string permissionLevel ) : GlymaPermissionLevel | ||
permissionLevel | string | |
Результат | GlymaPermissionLevel |
public static GetPermissionLevelName ( GlymaPermissionLevel permissionLevel ) : string | ||
permissionLevel | GlymaPermissionLevel | |
Результат | string |
public static IsPermissionGreaterOrEqual ( GlymaPermissionLevel permissionLevel, GlymaPermissionLevel maxPermissionLevel ) : bool | ||
permissionLevel | GlymaPermissionLevel | |
maxPermissionLevel | GlymaPermissionLevel | |
Результат | bool |
public static IsPermissionGreaterOrEqual ( string permissionName, string maxPermission ) : bool | ||
permissionName | string | The name of the permission to check |
maxPermission | string | The current maximum permision to check against |
Результат | bool |