SQL::Connection::GenerateDropUserStatement()
Syntax
SQL_Statement as C = SQL::Connection::GenerateDropUserStatement( User as C )
|
Argument |
Description |
|
SQL_Statement |
An add user group statement appropriate for the database. |
|
Group |
The name of the group to create. |
Description
The .GenerateDropUserStatement() method returns the SQL statement that will delete a user.
Supported By
Alpha Five Version 8 Enterprise Edition
Limitations
Desktop applications only.
Example
|
dim conn as SQL::Connection conn.open("{A5API=Access,FileName='C:\Program Files\A5V8\MDBFiles\Alphasports.mdb',UserName='Admin'}") ? conn.GenerateDropUserStatement("Tom") = "DROP USER Tom" |
See Also