ManagementAuthentication.GetUser(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns information about an IIS Manager user.
public:
static Microsoft::Web::Management::Server::ManagementUserInfo ^ GetUser(System::String ^ userName);
public static Microsoft.Web.Management.Server.ManagementUserInfo GetUser (string userName);
static member GetUser : string -> Microsoft.Web.Management.Server.ManagementUserInfo
Public Shared Function GetUser (userName As String) As ManagementUserInfo
Parameters
- userName
- String
The user name.
Returns
A ManagementUserInfo object that contains information about an IIS Manager user.
Exceptions
userName
is null
or empty.
Remarks
The ManagementUserInfo object contains a user name and a value that indicates whether the user name is enabled.