프로퍼티 | 타입 | 설명 | |
---|---|---|---|
CustomPermissionKey | string |
메소드 | 설명 | |
---|---|---|
PermissionController ( int zoneId, int appId, System.Guid typeGuid, IEntity targetItem, DotNetNuke.Entities.Modules.ModuleInfo module = null ) : System | ||
PermissionController ( int zoneId, int appId, System.Guid typeGuid, DotNetNuke.Entities.Modules.ModuleInfo module = null ) : System |
Initialize this object so it can then give information regarding the permissions of an entity. Uses a GUID as identifier because that survives export/import.
|
|
UserMay ( PermissionGrant action ) : bool | ||
UserMay ( char actionCode ) : bool |
Check if a user may do something based on the permissions in the background.
|
메소드 | 설명 | |
---|---|---|
DoesPermissionAllow ( IEntity permissionEntity, char desiredActionCode ) : bool |
Check if a specific permission entity allows for the desired permission
|
|
DoesPermissionsListAllow ( char desiredActionCode ) : bool |
Check if the permission-list would allow such an action
|
public PermissionController ( int zoneId, int appId, System.Guid typeGuid, IEntity targetItem, DotNetNuke.Entities.Modules.ModuleInfo module = null ) : System | ||
zoneId | int | |
appId | int | |
typeGuid | System.Guid | |
targetItem | IEntity | |
module | DotNetNuke.Entities.Modules.ModuleInfo | |
리턴 | System |
public PermissionController ( int zoneId, int appId, System.Guid typeGuid, DotNetNuke.Entities.Modules.ModuleInfo module = null ) : System | ||
zoneId | int | EAV Zone |
appId | int | EAV APP |
typeGuid | System.Guid | Entity GUID to check permissions against |
module | DotNetNuke.Entities.Modules.ModuleInfo | DNN Module - necessary for SecurityAccessLevel checks |
리턴 | System |
public UserMay ( char actionCode ) : bool | ||
actionCode | char | Short-code for r=read, u=update etc. |
리턴 | bool |