메소드 | 설명 | |
---|---|---|
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 |