Interface IUserManager
Interface for a user manager.
public interface IUserManager
Properties
CurrentUser
Gets the current user.
IUser CurrentUser { get; }
Property Value
DefaultUser
Gets the default user.
IUser DefaultUser { get; }
Property Value
Remarks
This IUser has a minimum of permissions and no password.
Groups
Gets all existing user groups.
KeyItemCollection<IGroup> Groups { get; }
Property Value
PasswordRules
Gets all PasswordRules.
ICollection<IStringRule> PasswordRules { get; }
Property Value
Permissions
Gets all existing permissions.
KeyItemCollection<IPermission> Permissions { get; }
Property Value
SuperUser
Gets the super user with all permissions.
IUser SuperUser { get; }
Property Value
Remarks
This IUser has all permissions and a password.
Users
Gets all existing users.
KeyItemCollection<IUser> Users { get; }
Property Value
Methods
Login()
Logs a user to CurrentUser in.
void Login()
Login(string, string)
Logs user to CurrentUser in.
void Login(string key, string password)
Parameters
Events
UserChanged
Occurs when the current user has changed.
event EventHandler<UserChangedEventArgs> UserChanged
Event Type
UserChanging
Occurs before a user change.
event EventHandler<UserChangingEventArgs> UserChanging