ManagementAuthentication.GetUser Method (String)

IIS 7.0
 

Returns information about an IIS Manager user.

Namespace:   Microsoft.Web.Management.Server
Assembly:  Microsoft.Web.Management (in Microsoft.Web.Management.dll)

public static ManagementUserInfo GetUser(
	string userName
)

Parameters

userName
Type: System.String

The user name.

Return Value

Type: Microsoft.Web.Management.Server.ManagementUserInfo

A ManagementUserInfo object that contains information about an IIS Manager user.

Exception Condition
ArgumentNullException

userName is null or empty.

The ManagementUserInfo object contains a user name and a value that indicates whether the user name is enabled.

Return to top
Show: