IUserDetailsService Members CelloSaaS API Documentation
The IUserDetailsService type exposes the following members.
Methods

Name Description
Public method ActivateUser
Activates the user so that the user can login to system again.
Public method 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.
Public method 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.
Public method ChangePassword(String, String, String, String)
This method is used to change the password
Public method CheckPasswordsExpired
Return true or false based on whether the membership id's password has expired or not.
Public method DeleteUser
Deactivates the user. User cannot login if deactivated.
Public method ForceUserPasswordReset
To force the password resetting for the users under a given tenant.
Public method ForgotPassword(String, String)
This method is used to send mail to user with his/her password. Password may be old password or reseted password
Public method GetAllUserDetailsByTenantId
Get all(both active and inactive) user details for the given tenant Identifier.
Public method 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)
Public method 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)
Public method 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)
Public method GetPasswordExpiredUser
Get the list of membershipIds which have been expired for a given tenantID.
Public method GetUserCountByTenantId
Gets the user count by tenant id.
Public method GetUserCountByTenantIds
Get user counts for tenant Identifiers.
Public method GetUserDetails(  String  )
Gets the user details.
Public method GetUserDetails(String, String)
Get user details by user name and company code.
Public method GetUserDetailsByEmailId
Gets the user details by email id.
Public method GetUserDetailsByName(String, String)
Get user details by user name and tenant Id.
Public method GetUserDetailsByTenantId
Get active user details for the given tenant id
Public method GetUserDetailsByUserId(String)
Get user details for the given userId
Public method GetUserDetailsByUserId(String, String)
Gets the user details for the given user id and the tenant Id.
Public method GetUserIdByEmailId
Gets the user id by email id. EmailId is unique throughout the system (accross all tenants)
Public method GetUserInPrivileges
Gets the user in privileges.
Public method GetUserNameForAudit
Get the username for the given userIds for audit display purposes
Public method GetUsersInRole
Gets the users in role.
Public method GetUsersInRoles
Gets the users in roles.
Public method IsUserPasswordForcedForChange
To check whether this membershipid is forced for password reset or not
Public method LockAllUserAccounts
Locks all user accounts.
Public method LockUserAccounts
Locks the user accounts.
Public method PermanentDeleteUser
Delete the user details from the system
Public method ResetPassword(String, String)
Resets the password for a user
Public method ResetPassword(  String  , String, String)
Resets the user password password.
Public method ResetPassword(String, String, String, String)
Resets the password for a user
Public method SearchAllUserDetailsInCurrentTenant
Get all user details based on the search value in current tenant
Public method SearchAllUserDetailsInOtherTenants
Get all user details based on the search value in other tenants
Public method SearchUserDetails(SearchParameters)
Get user details based on the search parameters
Public method SearchUserDetails(SearchParameters, String)
Get user details based on the search parameters
Public method SearchUserDetailsInCurrentTenant
Get active user details by search value in current tenant
Public method SearchUserDetailsInOtherTenants
Get active user details based on the search value in other tenants
Public method UnLockAllUserAccounts
Uns the lock all user accounts.
Public method UnLockUserAccounts
This method will set the lock field of the membership table to false and resets the failure attempts column value to zero.
Public method UpdateFirstTimeLogOn(String, String, String, String, Boolean, String)
Update the password and security question/answer
Public method UpdatePasswordExpirationDate
Update the user password expiry date for the given membershipid
Public method UpdatePasswordExpirationStatus
Updates the password expiry status daily and sets the expiry status for each user in the userpasswordexpiration table.
Public method UpdateUser(UserDetails)
Update the given user details.
Public method UpdateUser(MembershipDetails, User, Address)
Update the given user details.
Public method UserDetailsBulkInsert
This method is used to insert bulk user details
Public method UserDetailsBulkUpdate
This method is used to update bulk user details
Public method 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.
Public method ValidateUser(String, String, String)
Validates the user login credentials. True if the valid credentials passed else False Primarly used in Forms validation
Public method ValidateWCFUser
Validates the tenant API key. Used to authenticate WCF service calls.
Back to Top
See Also