MagicCMS Documentation

MagicUser Members

The MagicUser type exposes the following members.

Constructors


  Name Description
Public method MagicUser()()()()
Initializes a new empty instance of the MagicUser class.
Public method MagicUser(Int32)
Initializes a new instance of the MagicUser class fletching it from MagicCMS database.
Public method MagicUser(String, String)
Initializes a new instance of the MagicUser class on user login, checking username (email) and password.

Methods


  Name Description
Public method ChangePassword
Change the password.
Public method Insert
Inserts this instance in user table.
Public method Static member RecordCount
Count the record.
Public method Static member ResetPassword
Resets the password.
Public method SendPwdMail
Sends the password to user email address adding a message.
Public method Update
Save this modified instance updating MagicCMS database.
Public method Static member UsernameExists
Verifies if the username exists in users database.

Properties


  Name Description
Public property Active
Gets or sets the active.
Public property Email
Gets or sets the email.
Public property LastModify
Gets or sets the last modify date.
Public property Level
Gets or sets the prerogative level Prerogative,
Public property LevelDescription
Gets prerogative description.
Public property LoginResult
Gets or sets the MbUserLoginResult. Login status of the user.
Public property Name
Gets or sets the complete name of the user.
Public property Password
Gets or sets the password.
Public property Pk
Gets or sets the pk. Unique ID
Public property Profile_PK
Gets or sets the profile pk.