November Happy Hour will be moved to Thursday December 5th.

Struct RoleItem

Structure describing a common representation of MembershipUsers and Roles.

Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: EPiServer.Security
Assembly: EPiServer.dll
Version: 9.12.2
Syntax
public struct RoleItem

Constructors

RoleItem(String, SecurityEntityType)

Initializes a new instance of the RoleItem class.

Declaration
public RoleItem(string roleName, SecurityEntityType securityEntityType)
Parameters
Type Name Description
System.String roleName

Name of the role.

SecurityEntityType securityEntityType

The SecurityEntityType of the MembershipUser or Role.

RoleItem(String, String)

Initializes a new instance of the RoleItem class.

Declaration
public RoleItem(string roleName, string providerName)
Parameters
Type Name Description
System.String roleName

Name of the role.

System.String providerName

Name of the provider which this RoleItem belongs to.

RoleItem(String, String, SecurityEntityType)

Initializes a new instance of the RoleItem class.

Declaration
public RoleItem(string roleName, string providerName, SecurityEntityType securityEntityType)
Parameters
Type Name Description
System.String roleName

Name of the role.

System.String providerName

Name of the provider which this RoleItem belongs to.

SecurityEntityType securityEntityType

The SecurityEntityType of the MembershipUser or Role.

Properties

ProviderName

Gets or sets the name of the provider.

Declaration
public string ProviderName { get; set; }
Property Value
Type Description
System.String

The name of the provider.

RoleName

Gets or sets name of the MembershipUser or Role.

Declaration
public string RoleName { get; set; }
Property Value
Type Description
System.String

SecurityEntityType

The SecurityEntityType of the MembershipUser or Role.

Declaration
public SecurityEntityType SecurityEntityType { get; set; }
Property Value
Type Description
SecurityEntityType

The type of the security entity.

Extension Methods