Class RoleGroupInfo
The RoleGroupInfo class provides the Entity Layer RoleGroup object.
Inherited Members
Namespace: DotNetNuke.Security.Roles
Assembly: DotNetNuke.dll
Syntax
public class RoleGroupInfo : BaseEntityInfo, IHydratable
Constructors
| Improve this Doc View SourceRoleGroupInfo()
Initializes a new instance of the RoleGroupInfo class.
Declaration
public RoleGroupInfo()
RoleGroupInfo(Int32, Int32, Boolean)
Initializes a new instance of the RoleGroupInfo class.
Declaration
public RoleGroupInfo(int roleGroupID, int portalID, bool loadRoles)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | roleGroupID | |
System.Int32 | portalID | |
System.Boolean | loadRoles |
Properties
| Improve this Doc View SourceDescription
Gets or sets the Description of the RoleGroup.
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
KeyID
The RoleGroupInfo class provides the Entity Layer RoleGroup object.
Declaration
public int KeyID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
PortalID
Gets or sets the Portal Id for the RoleGroup.
Declaration
public int PortalID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
RoleGroupID
Gets or sets the RoleGroup Id.
Declaration
public int RoleGroupID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
RoleGroupName
Gets or sets the RoleGroup Name.
Declaration
public string RoleGroupName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Roles
Gets the Roles for this Role Group.
Declaration
public Dictionary<string, RoleInfo> Roles { get; }
Property Value
Type | Description |
---|---|
Dictionary<System.String, RoleInfo> |
Methods
| Improve this Doc View SourceFill(IDataReader)
The RoleGroupInfo class provides the Entity Layer RoleGroup object.
Declaration
public void Fill(IDataReader dr)
Parameters
Type | Name | Description |
---|---|---|
IDataReader | dr |
GetSchema()
The RoleGroupInfo class provides the Entity Layer RoleGroup object.
Declaration
public XmlSchema GetSchema()
Returns
Type | Description |
---|---|
XmlSchema |
ReadXml(XmlReader)
Reads a RoleGroupInfo from an XmlReader.
Declaration
public void ReadXml(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
XmlReader | reader |
WriteXml(XmlWriter)
Writes a RoleGroupInfo to an XmlWriter.
Declaration
public void WriteXml(XmlWriter writer)
Parameters
Type | Name | Description |
---|---|---|
XmlWriter | writer |
Implements
IXmlSerializable