Class MemberInfo
- Namespace
- CMS.Membership
- Assembly
- CMS.Membership.dll
Data container class for MemberInfo.
[InfoCache(InfoCacheBy.ID|InfoCacheBy.Guid)]
public class MemberInfo : AbstractInfo<MemberInfo, IMemberInfoProvider>, IExtensible, IInfo, IAdvancedDataContainer, ICMSObject, IHierarchicalDataContainer, IDataContainer, ISimpleDataContainer, IVirtualHierarchicalObject, IHierarchicalObject, INameIndexable, IMacroObject
- Inheritance
-
objectMemberInfo
- Implements
- Inherited Members
- Extension Methods
Constructors
MemberInfo()
Creates an empty instance of the MemberInfo class.
public MemberInfo()
MemberInfo(DataRow)
Creates a new instances of the MemberInfo class from the given System.Data.DataRow.
public MemberInfo(DataRow dr)
Parameters
dr
DataRowDataRow with the object data.
Fields
OBJECT_TYPE
Object type.
public const string OBJECT_TYPE = "cms.member"
Field Value
- string
TYPEINFO
Type information.
public static readonly ObjectTypeInfo TYPEINFO
Field Value
Properties
MemberCreated
Member created.
[DatabaseField]
public virtual DateTime MemberCreated { get; set; }
Property Value
- DateTime
MemberEmail
Member email.
[DatabaseField]
public virtual string MemberEmail { get; set; }
Property Value
- string
MemberEnabled
Member enabled.
[DatabaseField]
public virtual bool MemberEnabled { get; set; }
Property Value
- bool
MemberGuid
Member guid.
[DatabaseField]
public virtual Guid MemberGuid { get; set; }
Property Value
- Guid
MemberID
Member ID.
[DatabaseField]
public virtual int MemberID { get; set; }
Property Value
- int
MemberIsExternal
Member uses external authentication.
[DatabaseField]
public virtual bool MemberIsExternal { get; set; }
Property Value
- bool
MemberName
Member name.
[DatabaseField]
public virtual string MemberName { get; set; }
Property Value
- string
MemberPassword
Member password.
[DatabaseField]
public virtual string MemberPassword { get; set; }
Property Value
- string
MemberSecurityStamp
A unique value used for tracking changes to the members profile. Used for security purposes.
[DatabaseField]
public virtual string MemberSecurityStamp { get; set; }
Property Value
- string
Remarks
Changing this field's value will invalidate authentication cookies. Changes when MemberEnabled changes.
ObjectDisplayName
Object display name.
protected override string ObjectDisplayName { get; set; }
Property Value
- string
Remarks
The returned value is evaluated from first known column in following column sequence: DisplayNameColumn, CodeNameColumn, GUIDColumn, IDColumn, ObjectType.
When evaluating on IDColumn, returned value consists of both ObjectType and IDColumn.
Methods
DeleteObject()
Deletes the object using appropriate provider.
protected override void DeleteObject()
LoadDefaultData()
Loads the default data to the object.
protected override void LoadDefaultData()
SetObject()
Updates the object using appropriate provider.
protected override void SetObject()