C# Class Ada.Permissions.AdaPermissions

To trial only bot owners and room owners will have permissions.
Afficher le fichier Open project: yvettec/Dupes

Méthodes publiques

Свойство Type Description
Users List

Méthodes publiques

Méthode 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

Méthode Description
AdaPermissions ( ) : System

Method Details

FindPermissonLevel() public static méthode

public static FindPermissonLevel ( ChatUser user ) : PermissionLevel
user ChatUser
Résultat PermissionLevel

IsAuthorised() public static méthode

public static IsAuthorised ( PermissionLevel level, ChatUser user ) : bool
level PermissionLevel
user ChatUser
Résultat bool

IsAuthorized() public static méthode

public static IsAuthorized ( PermissionLevel permission, ChatExchangeDotNet.User user ) : bool
permission PermissionLevel
user ChatExchangeDotNet.User
Résultat bool

IsRegistered() public static méthode

public static IsRegistered ( ChatExchangeDotNet.User user ) : ChatUser
user ChatExchangeDotNet.User
Résultat ChatUser

Property Details

Users public_oe static_oe property

public static List Users
Résultat List