Click or drag to resize
IUserManager Interface
The interface for the object that manages lists of users.

Namespace: VirtualRadar.Interface.Settings
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public interface IUserManager : ISingleton<IUserManager>

The IUserManager type exposes the following members.

Properties
  NameDescription
Public propertyCanChangeEnabledState
Gets a value indicating that the manager can enable or disable user accounts.
Public propertyCanChangePassword
Gets a value indicating that the manager can change passwords on user accounts.
Public propertyCanCreateUsers
Gets a value indicating that the manager can create new user accounts.
Public propertyCanCreateUsersWithHash
Gets a value indicating that the manager can create a user and make use of a password hash supplied by VRS.
Public propertyCanDeleteUsers
Gets a value indicating that the manager can delete user accounts.
Public propertyCanEditUsers
Gets a value indicating that the manager can modify user accounts.
Public propertyCanListUsers
Gets a value indicating that the manager can retrieve a list of users.
Public propertyLoginNameIsCaseSensitive
Gets a value indicating that the login name is case sensitive.
Public propertyName
Gets the name of the manager.
Public propertySingleton
Gets the single instance of the class that should be used throughout the application.
(Inherited from ISingletonT.)
Top
Methods
  NameDescription
Public methodCreateUser
Creates a new user. If CanCreateUsers is false then this should throw an exception when called. The user manager is expected to modify the record passed in to set IsPersisted to true and to fill in the unique ID.
Public methodCreateUserWithHash
Creates a new user. If CanCreateUsersWithHash is false then this should throw an exception when called.
Public methodDeleteUser
Delete the user passed across. Throw an exception if the deletion is not permitted, otherwise remove the user from the backing store.
Public methodGenerateTemporaryUniqueId
Returns an identifier that does not exist on any user record, has not been previously returned by other calls to GenerateTemporaryUniqueId in this session and cannot be assigned to a new user by any of the Create calls.
Public methodGetUserByLoginName
Returns the user with the login name specified or null if no such user exists.
Public methodGetUsers
Returns a list of all users. Throw an exception if CanListUsers is false.
Public methodGetUsersByUniqueId
Returns a collection of users that have the unique identifiers passed across.
Public methodInitialise
Initialises the manager.
Public methodPasswordMatches
Returns true if the password is a match for the user's password.
Public methodShutdown
Shuts the manager down.
Public methodUpdateUser
Edits an existing user. Throw an exception if the change is not permitted, otherwise modify the backing store to reflect the change in details for the user with the appropriate UniqueID.
Public methodValidateUser
Validates the record passed across.
Top
See Also