public UserPermissionListEntry(User user, String customName, AllowSetting allowed) : base(user, customName) { Allowed = allowed; }
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); }
public void Add(User user, String customName, AllowSetting allowed) { base.Add(user, new UserPermissionListEntry(user, customName, allowed)); }