Gambas Documentation - /comp/gb.db/.connection.users/add

/comp/gb.db/.connection.users/add

# .Connection.Users.Add (gb.db)

Sub Add ( Name As String [ , Password As String, Admin As Boolean ] )

Register a new user in the database server.

- Name is the name of the user.

- Password is an optional password.

- Admin tells if you want this user to be a database administrator.

A database administrator has the right to create or remove databases and users, and to connect to every database on the server.