Struct RoleItem
Structure describing a common representation of MembershipUsers and Roles.
Inherited Members
Namespace: EPiServer.Security
Assembly: EPiServer.dll
Version: 7.19.2Syntax
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. |