public ACL(string groupName, string fullName, bool enabled, imNOS nos, imAccessRight right) { GroupName = groupName; FullName = fullName; Enabled = enabled; Nos = nos; Right = right; }
private static WsAccessRight GetWsAccessRight(imAccessRight imAccessRight) { switch (imAccessRight) { case imAccessRight.imRightAll: return(WsAccessRight.ALL); case imAccessRight.imRightNone: return(WsAccessRight.NONE); case imAccessRight.imRightRead: return(WsAccessRight.READ); case imAccessRight.imRightReadWrite: return(WsAccessRight.READWRITE); default: return(WsAccessRight.NONE); } }