Condividi tramite


EnterpriseManagementGroup.GetUserName Method

Gets the user name for the current user who is connected to the Service Manager server through this EnterpriseManagementGroup object.

Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

'Usage
Dim instance As EnterpriseManagementGroup
Dim returnValue As String

returnValue = instance.GetUserName

Syntax

'Declaration
Public Function GetUserName As String
public string GetUserName ()
public:
String^ GetUserName ()
public String GetUserName ()
public function GetUserName () : String

Return Value

The user name.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

EnterpriseManagementGroup Class
EnterpriseManagementGroup Members
Microsoft.EnterpriseManagement Namespace