Collapse All Expand All

.NET Framework Class Library
Admin Class See Also

[TIBCO.EMS .NET Admin client library 5.1 documentation]

Get the user for the given username.

Namespace: TIBCO.EMS.ADMIN
Assembly: TIBCO.EMS.ADMIN (in TIBCO.EMS.ADMIN.dll)

# Syntax

    public UserInfo GetUser(
    	string userName
    )

    Public Function GetUser ( _
    	userName As String _
    ) As UserInfo

    public:
    UserInfo^ GetUser(
    	String^ userName
    )

#### Parameters

userName
  Type: System..::.String
  The name of the user to retrieve info for.

#### Return Value

the UserInfo object for the given username or null if the name is not found.

# Exceptions

Exception | Condition
--- | ---
TIBCO.EMS.ADMIN..::.AdminException | if not authorized or an error occurred.
TIBCO.EMS.ADMIN..::.AdminInvalidNameException | if userName is not a legal user name.

# See Also

Admin Class
TIBCO.EMS.ADMIN Namespace