Show / Hide Table of Contents

Class Permissions

Inheritance
object
Permissions
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Dnn.PersonaBar.Library.DTO
Assembly: Dnn.PersonaBar.Library.dll
Syntax
[DataContract]
public abstract class Permissions

Constructors

Permissions()

Declaration
protected Permissions()

Permissions(bool)

Declaration
protected Permissions(bool needDefinitions)
Parameters
Type Name Description
bool needDefinitions

Properties

PermissionDefinitions

Declaration
[DataMember(Name = "permissionDefinitions")]
public IList<Permission> PermissionDefinitions { get; set; }
Property Value
Type Description
IList<Permission>

RolePermissions

Declaration
[DataMember(Name = "rolePermissions")]
public IList<RolePermission> RolePermissions { get; set; }
Property Value
Type Description
IList<RolePermission>

UserPermissions

Declaration
[DataMember(Name = "userPermissions")]
public IList<UserPermission> UserPermissions { get; set; }
Property Value
Type Description
IList<UserPermission>

Methods

LoadPermissionDefinitions()

Declaration
protected abstract void LoadPermissionDefinitions()

Extension Methods

PermissionHelper.AddRolePermission(Permissions, PermissionInfoBase)
PermissionHelper.AddUserPermission(Permissions, PermissionInfoBase)
PermissionHelper.EnsureDefaultRoles(Permissions)
PermissionHelper.EnsureRole(Permissions, RoleInfo)
PermissionHelper.EnsureRole(Permissions, RoleInfo, bool)
PermissionHelper.EnsureRole(Permissions, RoleInfo, bool, bool)
JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS