UserManager Class |
Namespace: ArtDatabanken.Data
The UserManager type exposes the following members.
Name | Description | |
---|---|---|
UserManager | Initializes a new instance of the UserManager class |
Name | Description | |
---|---|---|
DataSource |
This property is used to retrieve or update information.
|
Name | Description | |
---|---|---|
ActivateRoleMembership(IUserContext, Int32) |
Activates role membership for an user.
| |
ActivateRoleMembership(IUserContext, Int32, Int32) |
Administrator activates a role membership for an user.
| |
ActivateUserAccount |
Activates user account.
| |
AddUserToRole |
Adds user to a role
| |
ApplicationActionExists(IUserContext, String) |
Check if application action identifier exists in users
current authorities
| |
ApplicationActionExists(IUserContext, IRole, String) |
Check if application action identifier exists in the authorities for a role
| |
CheckStringIsUnique |
Check if a translation string is unique for this object/property and locale.
| |
CreateAuthority |
Create new authority.
| |
CreatePerson |
Create new person.
| |
CreateRole |
Create new role.
| |
CreateUser |
Create new user.
| |
DeleteAuthority |
Delete an authority
| |
DeletePerson |
Delete a person.
| |
DeleteRole |
Delete a role
| |
DeleteUser |
Delete a user.
| |
GetAddressType(IUserContext, AddressTypeId) |
Get address type with the given id.
| |
GetAddressType(IUserContext, Int32) |
Get address type with the given id.
| |
GetAddressTypes |
Get all address types.
| |
GetAgreement(IUserContext, AgreementId) |
Get agreement with specified id.
| |
GetAgreement(IUserContext, Int32) |
Get agreement with specified id.
| |
GetAgreementResponses(IUserContext) |
Get all agreement responses for logged in user.
| |
GetAgreementResponses(IUserContext, IUser) |
Get all agreement responses for specified user.
| |
GetAgreements |
Get all agreements.
| |
GetApplicationUsers |
Get all users of type Application
| |
GetAuthorities(IUserContext, IRole, IApplication) |
Get all authorities within a role that is connected to specified application.
| |
GetAuthorities(IUserContext, Int32, Int32) |
Get all authorities for a user and authority is connected to specified application
| |
GetAuthorities(IUserContext, IRole, Int32, String) |
Get all authorities within a role that is connected to specified application
and having specified authority identifier.
| |
GetAuthoritiesBySearchCriteria |
Get authorities that matches the search criteria.
| |
GetAuthority |
Get authority by id.
| |
GetAuthorityDataTypes |
Get all authority data types.
| |
GetAuthorityDataTypesByApplicationId |
Get authority data types for specific application id.
| |
GetDataSourceInformation |
Get information about data source.
| |
GetLockedUserInformation |
Get information about users that are currently locked out
from ArtDatabankenSOA.
Users are locked out if the fail to login a couple of times.
All currently locked out users are returned if parameter
userSearchString is null.
| |
GetMessageType(IUserContext, MessageTypeId) |
Get message type with the given id.
| |
GetMessageType(IUserContext, Int32) |
Get message type with the given id.
| |
GetMessageTypes |
Get all message types.
| |
GetNonActivatedUsersByRole |
Get all users that have been associated with a role but have not activated their role membership yet.
| |
GetPerson |
Get person by id.
| |
GetPersonGender(IUserContext, PersonGenderId) |
Get person gender with specified id.
| |
GetPersonGender(IUserContext, Int32) |
Get person gender with specified id.
| |
GetPersonGenders |
Get all person genders.
| |
GetPersonsByModifiedDate |
Get persons that have been modified or created between certain dates.
| |
GetPersonsBySearchCriteria |
Get persons that matches the search criteria.
| |
GetPhoneNumberType |
Get phone number type with specified id.
| |
GetPhoneNumberTypes |
Get all phone number types.
| |
GetRole |
Get role by id.
| |
GetRoleMembersBySearchCriteria |
Get rolemembers that matches the search criteria.
| |
GetRolesBySearchCriteria |
Get roles that matches the search criteria.
| |
GetRolesByUser |
GetUserRoles
| |
GetRolesByUserGroupAdministrationRoleId |
GetRolesByUserGroupAdministrationRoleId
| |
GetRolesByUserGroupAdministratorUserId |
GetRolesByUserGroupAdministratorUserId
| |
GetUser(IUserContext) |
Get currently active user.
| |
GetUser(IUserContext, Int32) |
Get user by id.
| |
GetUser(IUserContext, String) |
Get user by username.
| |
GetUsersByRole |
Get all users that have specified role.
| |
GetUsersBySearchCriteria |
Get users that matches the search criteria.
| |
IsExistingPerson |
Test if a person already exists.
| |
IsExistingUser |
Test if username already exists in the database.
| |
Login(String, String, String) |
Login user.
| |
Login(String, String, String, Boolean) |
Login user.
| |
Logout |
Logout user.
| |
RemoveUserFromRole |
Removes user from a role
| |
ResetPassword |
Reset user's password
| |
SupportUpdatePersonUser |
Updates a user and its associated person. The function only be used by support users.
Only Email and account activation can be changed when the account is inactivated.
| |
UpdateAgreementResponse |
Update agreement response. Agreement response is created
in database if it did not exist before. The agreementResponse
instance is updated with latest information.
| |
UpdateAuthority |
Update authority.
| |
UpdatePassword |
Update password for logged in user.
| |
UpdatePerson |
Update person.
| |
UpdateRole |
Update role.
| |
UpdateUser |
Update existing user.
| |
UserAdminSetPassword |
Updates a users password without sending the old password.
Used by administrator.
|
Name | Description | |
---|---|---|
UserLoggedInEvent |
Event handling after user has logged in.
| |
UserLoggedOutEvent |
Event handling after user has logged out.
|
Name | Description | |
---|---|---|
CheckNotNull |
Check that an argument is not null.
(Defined by ObjectExtension.) | |
CheckNull |
Check that an argument is null.
(Defined by ObjectExtension.) | |
IsNotNull |
Test if an object reference is not null.
(Defined by ObjectExtension.) | |
IsNull |
Test if an object reference is null.
(Defined by ObjectExtension.) |