Table of Contents

Class RoleInfo

Namespace
CMS.Membership
Assembly
CMS.Membership.dll

Role info data container.

[InfoCache(InfoCacheBy.ID|InfoCacheBy.Name, Priority = InfoCachePriority.NotRemovable)]
public class RoleInfo : AbstractInfo<RoleInfo, IRoleInfoProvider>, IExtensible, IInfo, IAdvancedDataContainer, ICMSObject, IHierarchicalDataContainer, IDataContainer, ISimpleDataContainer, IVirtualHierarchicalObject, IHierarchicalObject, INameIndexable, IMacroObject, IInfoWithName
Inheritance
object
RoleInfo
Implements
Inherited Members
Extension Methods

Constructors

RoleInfo()

Constructor - Creates an empty RoleInfo object.

public RoleInfo()

RoleInfo(DataRow)

Constructor - Creates a new RoleInfo object from the given DataRow.

public RoleInfo(DataRow dr)

Parameters

dr DataRow

Fields

OBJECT_TYPE

Role object type

public const string OBJECT_TYPE = "cms.role"

Field Value

string

TYPEINFO

Type information for standard role.

public static ObjectTypeInfo TYPEINFO

Field Value

ObjectTypeInfo

Properties

RoleDescription

Role Description.

[DatabaseField]
public virtual string RoleDescription { get; set; }

Property Value

string

RoleDisplayName

Role Display Name.

[DatabaseField]
public virtual string RoleDisplayName { get; set; }

Property Value

string

RoleGUID

Role GUID.

[DatabaseField]
public virtual Guid RoleGUID { get; set; }

Property Value

Guid

RoleID

Role ID.

[DatabaseField]
public virtual int RoleID { get; set; }

Property Value

int

RoleLastModified

Object last modified.

[DatabaseField]
public virtual DateTime RoleLastModified { get; set; }

Property Value

DateTime

RoleName

Role Name.

[DatabaseField]
public virtual string RoleName { get; set; }

Property Value

string

Methods

DeleteObject()

Deletes the object using appropriate provider.

protected override void DeleteObject()

SetObject()

Updates the object using appropriate provider.

protected override void SetObject()