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)); }
public string GroupColorString() { return(ServerClientMisc.ClientColorToString(this.GroupColor)); }