The IUserDetailsService type exposes the following members.
Back to Top
Methods
Name | Description | |
---|---|---|
ActivateUser |
Activates the user so that the user can login to system again.
|
|
AddUser(UserDetails) |
This method is used to create user details. After successful creation of user,
mail(Conformation/Password) will be send to user based on the configuration. |
|
AddUser(MembershipDetails, Address, User, String) |
This method is used to create user details. After successful creation of user,
mail(Conformation/Password) will be send to user based on the configuration. |
|
ChangePassword(String, String, String, String) |
This method is used to change the password
|
|
CheckPasswordsExpired |
Return true or false based on whether the membership id's password has expired or not.
|
|
DeleteUser |
Deactivates the user.
User cannot login if deactivated.
|
|
ForceUserPasswordReset |
To force the password resetting for the users under a given tenant.
|
|
ForgotPassword(String, String) |
This method is used to send mail to user with his/her password.
Password may be old password or reseted password
|
|
GetAllUserDetailsByTenantId |
Get all(both active and inactive) user details for the given tenant Identifier.
|
|
GetOnlineUsers |
Retuns the currently online users for the given tenant id.
Online users are identifier if their last activity time is less than 10 minutes (configurable in appsettings)
|
|
GetOnlineUsersCount |
Retuns the currently online users count for the given tenant id.
Online users are identifier if their last activity time is less than 10 minutes (configurable in appsettings)
|
|
GetOnlineUsersCountForTenants |
Retuns the currently online users count for the given tenant ids.
Online users are identifier if their last activity time is less than 10 minutes (configurable in appsettings)
|
|
GetPasswordExpiredUser |
Get the list of membershipIds which have been expired for a given tenantID.
|
|
GetUserCountByTenantId |
Gets the user count by tenant id.
|
|
GetUserCountByTenantIds |
Get user counts for tenant Identifiers.
|
|
GetUserDetails( String ) |
Gets the user details.
|
|
GetUserDetails(String, String) |
Get user details by user name and company code.
|
|
GetUserDetailsByEmailId |
Gets the user details by email id.
|
|
GetUserDetailsByName(String, String) |
Get user details by user name and tenant Id.
|
|
GetUserDetailsByTenantId |
Get active user details for the given tenant id
|
|
GetUserDetailsByUserId(String) |
Get user details for the given userId
|
|
GetUserDetailsByUserId(String, String) |
Gets the user details for the given user id and the tenant Id.
|
|
GetUserIdByEmailId |
Gets the user id by email id.
EmailId is unique throughout the system (accross all tenants)
|
|
GetUserInPrivileges |
Gets the user in privileges.
|
|
GetUserNameForAudit |
Get the username for the given userIds for audit display purposes
|
|
GetUsersInRole |
Gets the users in role.
|
|
GetUsersInRoles |
Gets the users in roles.
|
|
IsUserPasswordForcedForChange |
To check whether this membershipid is forced for password reset or not
|
|
LockAllUserAccounts |
Locks all user accounts.
|
|
LockUserAccounts |
Locks the user accounts.
|
|
PermanentDeleteUser |
Delete the user details from the system
|
|
ResetPassword(String, String) |
Resets the password for a user
|
|
ResetPassword( String , String, String) |
Resets the user password password.
|
|
ResetPassword(String, String, String, String) |
Resets the password for a user
|
|
SearchAllUserDetailsInCurrentTenant |
Get all user details based on the search value in current tenant
|
|
SearchAllUserDetailsInOtherTenants |
Get all user details based on the search value in other tenants
|
|
SearchUserDetails(SearchParameters) |
Get user details based on the search parameters
|
|
SearchUserDetails(SearchParameters, String) |
Get user details based on the search parameters
|
|
SearchUserDetailsInCurrentTenant |
Get active user details by search value in current tenant
|
|
SearchUserDetailsInOtherTenants |
Get active user details based on the search value in other tenants
|
|
UnLockAllUserAccounts |
Uns the lock all user accounts.
|
|
UnLockUserAccounts |
This method will set the lock field of the membership table to false
and resets the failure attempts column value to zero.
|
|
UpdateFirstTimeLogOn(String, String, String, String, Boolean, String) |
Update the password and security question/answer
|
|
UpdatePasswordExpirationDate |
Update the user password expiry date for the given membershipid
|
|
UpdatePasswordExpirationStatus |
Updates the password expiry status daily and sets the expiry status for each user in the
userpasswordexpiration table.
|
|
UpdateUser(UserDetails) |
Update the given user details.
|
|
UpdateUser(MembershipDetails, User, Address) |
Update the given user details.
|
|
UserDetailsBulkInsert |
This method is used to insert bulk user details
|
|
UserDetailsBulkUpdate |
This method is used to update bulk user details
|
|
ValidateSecurityAnswer |
This method checks the security answer for the given user
and updates the failure attempts. If exceeds the maximum
allowed number, then it locks the user account.
|
|
ValidateUser(String, String, String) |
Validates the user login credentials.
True if the valid credentials passed
else False
Primarly used in Forms validation
|
|
ValidateWCFUser |
Validates the tenant API key. Used to authenticate WCF service calls.
|
See Also