0 out of 1 rated this helpful - Rate this topic

CreateUser Method

IIS 7.0

Creates an IIS Manager user.

Namespace:  Microsoft.Web.Management.Server
Assembly:  Microsoft.Web.Management (in Microsoft.Web.Management.dll)
public static ManagementUserInfo CreateUser(
	string userName,
	string password
)

Parameters

userName
Type: System..::..String
The user name.
password
Type: System..::..String
The password.
ExceptionCondition
ArgumentNullException

userName or password is nullNothingnullptrunita null reference (Nothing in Visual Basic) or empty.

This method passes the specified parameters to the CreateUser()()()() method of the Microsoft.Web.Management.Server..::..ManagementAuthenticationProvider object that is specified in the Provider property.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.