Class UserRoleInfo
- Namespace
- CMS.Membership
- Assembly
- CMS.Membership.dll
UserRoleInfo data container class.
public class UserRoleInfo : AbstractInfo<UserRoleInfo, IUserRoleInfoProvider>, IExtensible, IInfo, IAdvancedDataContainer, ICMSObject, IHierarchicalDataContainer, IDataContainer, ISimpleDataContainer, IVirtualHierarchicalObject, IHierarchicalObject, INameIndexable, IMacroObject
- Inheritance
-
objectUserRoleInfo
- Implements
- Inherited Members
- Extension Methods
Constructors
UserRoleInfo()
Constructor - Creates an empty UserRoleInfo object.
public UserRoleInfo()
UserRoleInfo(DataRow)
Constructor - Creates a new UserRoleInfo object from the given DataRow.
public UserRoleInfo(DataRow dr)
Parameters
dr
DataRow
Fields
OBJECT_TYPE
Object type
public const string OBJECT_TYPE = "cms.userrole"
Field Value
- string
TYPEINFO
Type information.
public static ObjectTypeInfo TYPEINFO
Field Value
Properties
RoleID
Role ID.
public virtual int RoleID { get; set; }
Property Value
- int
UserID
User ID.
public virtual int UserID { get; set; }
Property Value
- int
Methods
DeleteObject()
Deletes the object using appropriate provider.
protected override void DeleteObject()
SetObject()
Updates the object using appropriate provider.
protected override void SetObject()