UserMgmtManager.AddUserAsync Method (String, SecureString, PersonalInfo)
synchronously adds a new user account with the specified user name, password, and personal information.
Namespace: Microsoft.WindowsServerSolutions.Users
Assembly: UserObjectModel (in UserObjectModel.dll)
Syntax
public void AddUserAsync(
string userName,
SecureString password,
PersonalInfo info
)
public:
void AddUserAsync(
String^ userName,
SecureString^ password,
PersonalInfo^ info
)
Public Sub AddUserAsync (
userName As String,
password As SecureString,
info As PersonalInfo
)
Parameters
userName
Type: System.StringThe user name.
password
Type: System.Security.SecureStringThe user password.
info
Type: Microsoft.WindowsServerSolutions.Users.PersonalInfoThe new user personal information.
See Also
AddUserAsync Overload
UserMgmtManager Class
Microsoft.WindowsServerSolutions.Users Namespace
Return to top