Метод | Описание | |
---|---|---|
GetPermissions ( int userId ) : IEnumerable |
||
SetPermissions ( int userId, IEnumerable |
||
Setup ( ISession session ) : void |
Метод | Описание | |
---|---|---|
CreatePermission ( ISession session, PermissionName name, int userId, int channelId ) : void | ||
CreatePermission ( ISession session, PermissionName name, int userId, int channelId, bool allowed ) : void | ||
CreatePermissions ( ISession session, int userId ) : void |
public GetPermissions ( int userId ) : IEnumerable |
||
userId | int | |
Результат | IEnumerable |
public SetPermissions ( int userId, IEnumerable |
||
userId | int | |
permissions | IEnumerable |
|
Результат | void |
public static Setup ( ISession session ) : void | ||
session | ISession | |
Результат | void |