Esempio n. 1
0
 public UserPermissionListEntry(User user, String customName, AllowSetting allowed) : base(user, customName)
 {
     Allowed = allowed;
 }
Esempio n. 2
0
        protected virtual void SendBlp(NotificationConnection c, int trId, AllowSetting gtcSetting, int serverSerial)
        {
            Command response = new Command(Verb.Blp, trId, serverSerial.ToString(), gtcSetting == AllowSetting.Allow ? "AL" : "BL");

            Server.Send(c, response);
        }
Esempio n. 3
0
 public void Add(User user, String customName, AllowSetting allowed)
 {
     base.Add(user, new UserPermissionListEntry(user, customName, allowed));
 }