IUser Methods |
The IUser type exposes the following members.
Name | Description | |
---|---|---|
![]() | Activate |
Activate a user account. It will not save the change in the database unless you explicitly call the Save method. |
![]() | Approve |
Approve a user account. It will not save the change in the database unless you explicitly call the Save method. |
![]() | BuildEncryptedKey |
Build an encrypted key to perform the
specified action.
|
![]() | CanReach |
Indicates if the current user is
allowed to reach the specified contact.
|
![]() | ChangeGroup |
Change the group of the user. It will not save the change in the database unless you explicitly call the Save method |
![]() | ChangePassword |
Change the user password. It will not save the new password in the database unless you explicitly call the Save method |
![]() | ChangeUserProfile |
Change the user profile to inherits. It will not save the change in the database unless you explicitly call the Save method |
![]() | Delete |
Flag the entity as deleted in database
(Inherited from IEntityBase.) |
![]() | Delete(Boolean) |
Flag an entity as deleted or definitively delete it in the database.
(Inherited from IOwnerEntity.) |
![]() ![]() | DemoteASuperAdmin |
Demote a super-administrator. It will not save the change in the database unless you explicitly call the Save method |
![]() | HasAdminRightToEdit(IGroup) |
Indicates if the current user has the administrative privileges to edit the specified group.
|
![]() | HasAdminRightToEdit(IUser) |
Indicates if the current user has the administrative privileges to edit the specified user.
|
![]() | HasAdminRightToView(IGroup) |
Indicates if the current user has the administrative privileges to view the specified group.
|
![]() | HasAdminRightToView(IUser) |
Indicates if the current user has the administrative privileges to view the specified user.
|
![]() ![]() | IsPasswordMatch |
Check whenever the specified password match the current user password
|
![]() ![]() | PromoteAsSuperAdmin |
Promote the user as a super-administrator. It will not save the change in the database unless you explicitly call the Save method |
![]() | Reload |
Reload the entity, using the current database value.
Returns successful value when the operation succeed
(Inherited from IOwnerEntity.) |
![]() | ResetLastSessionUsage |
Reset the information of the latest user session,
and save it in the database.
|
![]() | Restore |
Restore an entity flag as deleted
(Inherited from IOwnerEntity.) |
![]() | Save |
Save (create or update) an entity
(Inherited from IEntityBase.) |
![]() | SendActivationEmail |
Send the activation email to the user.
|
![]() | TouchLastConnectionAt |
Change the date of the latest user connection to now,
and save it in the database.
|
![]() | TouchLastSessionUsage |
Change the information about the latest user session,
and save it in the database.
|
![]() | UnAuthorize |
Unauthorize the user account. It will not save the change in the database unless you explicitly call the Save method. |
![]() | Validate |
Validate the integrity of the entity
(Inherited from IEntityBase.) |