Partager via


UserMgmtManager.AddUser Method (String, SecureString, PersonalInfo)

 

Adds a new user account, using the specified name, password, and user information.

Namespace:   Microsoft.WindowsServerSolutions.Users
Assembly:  UserObjectModel (in UserObjectModel.dll)

Syntax

public User AddUser(
    string userName,
    SecureString password,
    PersonalInfo info
)
public:
User^ AddUser(
    String^ userName,
    SecureString^ password,
    PersonalInfo^ info
)
Public Function AddUser (
    userName As String,
    password As SecureString,
    info As PersonalInfo
) As User

Parameters

Return Value

Type: Microsoft.WindowsServerSolutions.Users.User

The new user object.

See Also

AddUser Overload
UserMgmtManager Class
Microsoft.WindowsServerSolutions.Users Namespace

Return to top