Builds the key used to store the "permission" information in the ViewState
Namespace: DotNetNuke.Security.Permissions.ControlsAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
protected string BuildKey( bool allowAccess, int permissionId, int objectPermissionId, int roleId, string roleName, int userID, string displayName ) |
Visual Basic |
---|
Protected Function BuildKey ( allowAccess As Boolean, permissionId As Integer, objectPermissionId As Integer, roleId As Integer, roleName As String, userID As Integer, displayName As String ) As String |
Parameters
- allowAccess
- Type: System..::..Boolean
The type of permission ( grant / deny )
- permissionId
- Type: System..::..Int32
The Id of the permission
- objectPermissionId
- Type: System..::..Int32
The Id of the object permission
- roleId
- Type: System..::..Int32
The role id
- roleName
- Type: System..::..String
The role name
- userID
- Type: System..::..Int32
The user id
- displayName
- Type: System..::..String
The user display name