Method | Description | |
---|---|---|
ChangePassword ( string name, string oldPassword, string newPassword ) : bool | ||
GetPrivilege ( PHmiClient.Users.Identity identity ) : int? | ||
GetUsers ( PHmiClient.Users.Identity identity, CriteriaType criteriaType, string name, int count ) : PHmiClient.Users.User[] | ||
GetUsers ( PHmiClient.Users.Identity identity, long ids ) : PHmiClient.Users.User[] | ||
InsertUser ( PHmiClient.Users.Identity identity, PHmiClient.Users.User user ) : InsertUserResult | ||
LogOn ( string name, string password ) : PHmiClient.Users.User | ||
SetPassword ( PHmiClient.Users.Identity identity, long id, string password ) : bool | ||
Start ( ) : void | ||
Stop ( ) : void | ||
UpdateUser ( PHmiClient.Users.Identity identity, PHmiClient.Users.User user ) : UpdateUserResult | ||
UsersRunner ( IModelContext context, INpgsqlConnectionFactory connectionFactory, IUsersRepository repository ) : System.Globalization |
Method | Description | |
---|---|---|
InsertContextUsers ( |
||
IsUserEditor ( PHmiClient.Users.Identity identity ) : bool | ||
IsUserPrivileged ( PHmiClient.Users.Identity identity, int privilege ) : bool | ||
IsUserViewer ( PHmiClient.Users.Identity identity ) : bool |
public ChangePassword ( string name, string oldPassword, string newPassword ) : bool | ||
name | string | |
oldPassword | string | |
newPassword | string | |
return | bool |
public GetPrivilege ( PHmiClient.Users.Identity identity ) : int? | ||
identity | PHmiClient.Users.Identity | |
return | int? |
public GetUsers ( PHmiClient.Users.Identity identity, CriteriaType criteriaType, string name, int count ) : PHmiClient.Users.User[] | ||
identity | PHmiClient.Users.Identity | |
criteriaType | CriteriaType | |
name | string | |
count | int | |
return | PHmiClient.Users.User[] |
public GetUsers ( PHmiClient.Users.Identity identity, long ids ) : PHmiClient.Users.User[] | ||
identity | PHmiClient.Users.Identity | |
ids | long | |
return | PHmiClient.Users.User[] |
public InsertUser ( PHmiClient.Users.Identity identity, PHmiClient.Users.User user ) : InsertUserResult | ||
identity | PHmiClient.Users.Identity | |
user | PHmiClient.Users.User | |
return | InsertUserResult |
public LogOn ( string name, string password ) : PHmiClient.Users.User | ||
name | string | |
password | string | |
return | PHmiClient.Users.User |
public SetPassword ( PHmiClient.Users.Identity identity, long id, string password ) : bool | ||
identity | PHmiClient.Users.Identity | |
id | long | |
password | string | |
return | bool |
public UpdateUser ( PHmiClient.Users.Identity identity, PHmiClient.Users.User user ) : UpdateUserResult | ||
identity | PHmiClient.Users.Identity | |
user | PHmiClient.Users.User | |
return | UpdateUserResult |
public UsersRunner ( IModelContext context, INpgsqlConnectionFactory connectionFactory, IUsersRepository repository ) : System.Globalization | ||
context | IModelContext | |
connectionFactory | INpgsqlConnectionFactory | |
repository | IUsersRepository | |
return | System.Globalization |