Zepheus.Database.User.CreateUser C# (CSharp) Метод

CreateUser() публичный статический Метод

Create a new User object.
public static CreateUser ( global id, global username, global password, global admin, global banned ) : User
id global Initial value of the ID property.
username global Initial value of the Username property.
password global Initial value of the Password property.
admin global Initial value of the Admin property.
banned global Initial value of the Banned property.
Результат User
        public static User CreateUser(global::System.Int32 id, global::System.String username, global::System.String password, global::System.Byte admin, global::System.Boolean banned)
        {
            User user = new User();
            user.ID = id;
            user.Username = username;
            user.Password = password;
            user.Admin = admin;
            user.Banned = banned;
            return user;
        }