예제 #1
0
 public void Add(string username, string password, AuthLevels authLevel)
 {
     Add(new User(username, password, authLevel));
 }
예제 #2
0
 public virtual void Write(string username, string password, AuthLevels authLevel)
 {
     writer.WriteLine(string.Join(":", username, password, (int)authLevel));
 }
예제 #3
0
 public User(string username, string password, AuthLevels authLevel)
 {
     Username  = username;
     Password  = password;
     AuthLevel = authLevel;
 }