Click or drag to resize

IUser Interface

Manage an AskiaPortal user

Namespace:  AskiaPortalCmn
Assembly:  AskiaPortalCmn (in AskiaPortalCmn.dll) Version: 1.7.0-build068
Syntax
public interface IUser : IUserBase, IOwnerEntity, 
	IOwnerEntityBase, IEntityBase

The IUser type exposes the following members.

Properties
  NameDescription
Public propertyActivationEmailSentAt
Indicates when the latest activation email was sent.
Public propertyAvatar
Gets the avatar associated with the user.
Public propertyCreatedAt
Get the date of the creation
(Inherited from IOwnerEntityBase.)
Public propertyCreatedBy
Get the id of the user who have create the entity
(Inherited from IOwnerEntityBase.)
Public propertyDeletedAt
Get the date of deletion
(Inherited from IOwnerEntityBase.)
Public propertyDeletedBy
Get the id of the user who have delete the entity
(Inherited from IOwnerEntityBase.)
Public propertyDescription
Get or set a description for the user
(Inherited from IUserBase.)
Public propertyEmail
Get or set the email of the user
(Inherited from IUserBase.)
Public propertyFirstName
Get or set the first name of the user
(Inherited from IUserBase.)
Public propertyGroupId
Indicates the identifier of the membership group.
Public propertyGuid
Get the GUID of the user for secure external reference
Public propertyId
Get the id of the current entity
(Inherited from IOwnerEntityBase.)
Public propertyIsDeleted
Indicates if the current entity is flag as deleted
(Inherited from IOwnerEntityBase.)
Public propertyIsSuperAdmin
Indicates if the user is a super administrator (full control on everything)
Public propertyLanguageId
Get or set the ID of the user language
(Inherited from IUserBase.)
Public propertyLastConnectionAt
Returns the date of the latest user connection
Public propertyLastName
Get or set the last name of the user
(Inherited from IUserBase.)
Public propertyLastSessionGuid
Returns the GUID of the latest user session.
Public propertyLastSessionUsageAt
Returns the date of the latest usage of the user session.
Public propertyLogin
Get or set the login of user
(Inherited from IUserBase.)
Public propertyCode exampleManagedGroups
Indicates which groups are managed by the user.
Public propertyCode exampleModules
Indicates the modules access of the user.
Public propertyPasswordChangedAt
Indicates the date of the latest password change.
Public propertyCode examplePermissions
Indicates the permissions of the user.
Public propertyCode exampleReachableGroups
Indicates which groups are reachable by the user.
Public propertySettings
Gets the settings associated with the user.
Public propertyState
Get the state of the user
Public propertyUpdatedAt
Get the date of the latest update
(Inherited from IOwnerEntityBase.)
Public propertyUpdatedBy
Get the id of the last user who have update the entity
(Inherited from IOwnerEntityBase.)
Public propertyUserProfileId
Get the identifier of the user profile to inherits.
Top
Methods
  NameDescription
Public methodActivate
Activate a user account.
It will not save the change in the database unless you explicitly call the Save method.
Public methodApprove
Approve a user account.
It will not save the change in the database unless you explicitly call the Save method.
Public methodBuildEncryptedKey
Build an encrypted key to perform the specified action.
Public methodCanReach
Indicates if the current user is allowed to reach the specified contact.
Public methodChangeGroup
Change the group of the user.
It will not save the change in the database unless you explicitly call the Save method
Public methodChangePassword
Change the user password.
It will not save the new password in the database unless you explicitly call the Save method
Public methodChangeUserProfile
Change the user profile to inherits.
It will not save the change in the database unless you explicitly call the Save method
Public methodDelete
Flag the entity as deleted in database
(Inherited from IEntityBase.)
Public methodDelete(Boolean)
Flag an entity as deleted or definitively delete it in the database.
(Inherited from IOwnerEntity.)
Public methodCode exampleDemoteASuperAdmin
Demote a super-administrator.
It will not save the change in the database unless you explicitly call the Save method
Public methodHasAdminRightToEdit(IGroup)
Indicates if the current user has the administrative privileges to edit the specified group.
Public methodHasAdminRightToEdit(IUser)
Indicates if the current user has the administrative privileges to edit the specified user.
Public methodHasAdminRightToView(IGroup)
Indicates if the current user has the administrative privileges to view the specified group.
Public methodHasAdminRightToView(IUser)
Indicates if the current user has the administrative privileges to view the specified user.
Public methodCode exampleIsPasswordMatch
Check whenever the specified password match the current user password
Public methodCode examplePromoteAsSuperAdmin
Promote the user as a super-administrator.
It will not save the change in the database unless you explicitly call the Save method
Public methodReload
Reload the entity, using the current database value. Returns successful value when the operation succeed
(Inherited from IOwnerEntity.)
Public methodResetLastSessionUsage
Reset the information of the latest user session, and save it in the database.
Public methodRestore
Restore an entity flag as deleted
(Inherited from IOwnerEntity.)
Public methodSave
Save (create or update) an entity
(Inherited from IEntityBase.)
Public methodSendActivationEmail
Send the activation email to the user.
Public methodTouchLastConnectionAt
Change the date of the latest user connection to now, and save it in the database.
Public methodTouchLastSessionUsage
Change the information about the latest user session, and save it in the database.
Public methodUnAuthorize
Unauthorize the user account.
It will not save the change in the database unless you explicitly call the Save method.
Public methodValidate
Validate the integrity of the entity
(Inherited from IEntityBase.)
Top
See Also