[TIBCO.EMS .NET Admin client library 6.3 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

ExceptionCondition
TIBCO.EMS.ADMIN..::.AdminExceptionif not authorized or an error occurred.
TIBCO.EMS.ADMIN..::.AdminInvalidNameException if userName is not a legal user name.

See Also