C# Class Ada.Permissions.AdaPermissions

To trial only bot owners and room owners will have permissions.
Datei anzeigen Open project: yvettec/Dupes

Public Properties

Property Type Description
Users List

Public Methods

Method Description
FindPermissonLevel ( ChatUser user ) : PermissionLevel
IsAuthorised ( PermissionLevel level, ChatUser user ) : bool
IsAuthorized ( PermissionLevel permission, ChatExchangeDotNet.User user ) : bool
IsRegistered ( ChatExchangeDotNet.User user ) : ChatUser

Private Methods

Method Description
AdaPermissions ( ) : System

Method Details

FindPermissonLevel() public static method

public static FindPermissonLevel ( ChatUser user ) : PermissionLevel
user ChatUser
return PermissionLevel

IsAuthorised() public static method

public static IsAuthorised ( PermissionLevel level, ChatUser user ) : bool
level PermissionLevel
user ChatUser
return bool

IsAuthorized() public static method

public static IsAuthorized ( PermissionLevel permission, ChatExchangeDotNet.User user ) : bool
permission PermissionLevel
user ChatExchangeDotNet.User
return bool

IsRegistered() public static method

public static IsRegistered ( ChatExchangeDotNet.User user ) : ChatUser
user ChatExchangeDotNet.User
return ChatUser

Property Details

Users public_oe static_oe property

public static List Users
return List