Share via


User.Create Method (String)

Creates a database user on the instance of SQL Server as defined by the User object with specified password.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub Create ( _
    password As String _
)
'Usage
Dim instance As User 
Dim password As String

instance.Create(password)
public void Create(
    string password
)
public:
void Create(
    String^ password
)
member Create : 
        password:string -> unit
public function Create(
    password : String
)

Parameters

See Also

Reference

User Class

Create Overload

Microsoft.SqlServer.Management.Smo Namespace