IUser Interface |
Namespace: AskiaPortalCmn
The IUser type exposes the following members.
Name | Description | |
---|---|---|
ActivationEmailSentAt |
Indicates when the latest activation email was sent.
| |
Avatar |
Gets the avatar associated with the user.
| |
CreatedAt |
Get the date of the creation
(Inherited from IOwnerEntityBase.) | |
CreatedBy |
Get the id of the user who have create the entity
(Inherited from IOwnerEntityBase.) | |
DeletedAt |
Get the date of deletion
(Inherited from IOwnerEntityBase.) | |
DeletedBy |
Get the id of the user who have delete the entity
(Inherited from IOwnerEntityBase.) | |
Description |
Get or set a description for the user
(Inherited from IUserBase.) | |
Get or set the email of the user
(Inherited from IUserBase.) | ||
FirstName |
Get or set the first name of the user
(Inherited from IUserBase.) | |
GroupId |
Indicates the identifier of the membership group.
| |
Guid |
Get the GUID of the user for secure external reference
| |
Id |
Get the id of the current entity
(Inherited from IOwnerEntityBase.) | |
IsDeleted |
Indicates if the current entity is flag as deleted
(Inherited from IOwnerEntityBase.) | |
IsSuperAdmin |
Indicates if the user is a super administrator (full control on everything)
| |
LanguageId |
Get or set the ID of the user language
(Inherited from IUserBase.) | |
LastConnectionAt |
Returns the date of the latest user connection
| |
LastName |
Get or set the last name of the user
(Inherited from IUserBase.) | |
LastSessionGuid |
Returns the GUID of the latest user session.
| |
LastSessionUsageAt |
Returns the date of the latest usage of the user session.
| |
Login |
Get or set the login of user
(Inherited from IUserBase.) | |
ManagedGroups |
Indicates which groups are managed by the user.
| |
Modules |
Indicates the modules access of the user.
| |
PasswordChangedAt |
Indicates the date of the latest password change.
| |
Permissions |
Indicates the permissions of the user.
| |
ReachableGroups |
Indicates which groups are reachable by the user.
| |
Settings |
Gets the settings associated
with the user.
| |
State |
Get the state of the user
| |
UpdatedAt |
Get the date of the latest update
(Inherited from IOwnerEntityBase.) | |
UpdatedBy |
Get the id of the last user who have update the entity
(Inherited from IOwnerEntityBase.) | |
UserProfileId |
Get the identifier of the user profile
to inherits.
|
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.) |