Exemplo n.º 1
0
        public override string ToString()
        {
            string passwordString = "";

            if (string.IsNullOrEmpty(this.Password))
            {
                passwordString = "X";
            }
            return(string.Format("{0}:{1}:{2}:{3}:{4}", this.Name, this.Level, ServerClientMisc.PrivilegesString(this.GroupPrivileges), this.GroupColor.ToString(), passwordString));
        }
Exemplo n.º 2
0
 public string GroupColorString()
 {
     return(ServerClientMisc.ClientColorToString(this.GroupColor));
 }