Свойство | Тип | Описание | |
---|---|---|---|
PasswordTableName | ObjectName | ||
RoleTableName | ObjectName | ||
UserRoleTableName | ObjectName | ||
UserTableName | ObjectName |
Метод | Описание | |
---|---|---|
AddUserToRole ( string userName, string roleName, bool asAdmin ) : void | ||
AlterUser ( |
||
CreateRole ( string roleName ) : void | ||
CreateUser ( |
||
Dispose ( ) : void | ||
DropRole ( string roleName ) : bool | ||
DropUser ( string userName ) : bool | ||
GetUser ( string userName ) : |
||
GetUserRoles ( string userName ) : string[] | ||
GetUserStatus ( string userName ) : UserStatus | ||
IsUserInRole ( string userName, string roleName ) : bool | ||
IsUserRoleAdmin ( string userName, string roleName ) : bool | ||
RemoveUserFromRole ( string userName, string roleName ) : bool | ||
RoleExists ( string roleName ) : bool | ||
SetRoleAdmin ( string roleName, string userName ) : void | ||
SetUserStatus ( string userName, UserStatus status ) : void | ||
UserExists ( string userName ) : bool | ||
UserManager ( ISession session ) : System |
Метод | Описание | |
---|---|---|
Dispose ( bool disposing ) : void |
Метод | Описание | |
---|---|---|
DeserializeArguments ( byte bytes ) : object>.IDictionary |
||
QueryUserRoles ( string userName ) : string[] | ||
RemoveUserFromAllRoles ( string username ) : void | ||
SerializeArguments ( object>.IDictionary |
public AddUserToRole ( string userName, string roleName, bool asAdmin ) : void | ||
userName | string | |
roleName | string | |
asAdmin | bool | |
Результат | void |
public AlterUser ( |
||
userInfo | ||
Результат | void |
public CreateRole ( string roleName ) : void | ||
roleName | string | |
Результат | void |
public CreateUser ( |
||
userInfo | ||
Результат | void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Результат | void |
public DropRole ( string roleName ) : bool | ||
roleName | string | |
Результат | bool |
public DropUser ( string userName ) : bool | ||
userName | string | |
Результат | bool |
public GetUser ( string userName ) : |
||
userName | string | |
Результат |
public GetUserRoles ( string userName ) : string[] | ||
userName | string | |
Результат | string[] |
public GetUserStatus ( string userName ) : UserStatus | ||
userName | string | |
Результат | UserStatus |
public IsUserInRole ( string userName, string roleName ) : bool | ||
userName | string | |
roleName | string | |
Результат | bool |
public IsUserRoleAdmin ( string userName, string roleName ) : bool | ||
userName | string | |
roleName | string | |
Результат | bool |
public RemoveUserFromRole ( string userName, string roleName ) : bool | ||
userName | string | |
roleName | string | |
Результат | bool |
public RoleExists ( string roleName ) : bool | ||
roleName | string | |
Результат | bool |
public SetRoleAdmin ( string roleName, string userName ) : void | ||
roleName | string | |
userName | string | |
Результат | void |
public SetUserStatus ( string userName, UserStatus status ) : void | ||
userName | string | |
status | UserStatus | |
Результат | void |
public UserExists ( string userName ) : bool | ||
userName | string | |
Результат | bool |
public UserManager ( ISession session ) : System | ||
session | ISession | |
Результат | System |
public static ObjectName PasswordTableName | ||
Результат | ObjectName |
public static ObjectName RoleTableName | ||
Результат | ObjectName |
public static ObjectName UserRoleTableName | ||
Результат | ObjectName |