Collapse All Expand All

.NET Framework Class Library
Admin Class See Also

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

Create a user based on the information in the given UserInfo.

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

# Syntax

    public UserInfo CreateUser(
    	UserInfo user
    )

    Public Function CreateUser ( _
    	user As UserInfo _
    ) As UserInfo

    public:
    UserInfo^ CreateUser(
    	UserInfo^ user
    )

#### Parameters

user
  Type: TIBCO.EMS.ADMIN..::.UserInfo
  The information for the user to be created.

#### Return Value

the fully configured UserInfo from the server.

# Exceptions

Exception | Condition
--- | ---
TIBCO.EMS.ADMIN..::.AdminException | if not authorized or an error occurred.
TIBCO.EMS.ADMIN..::.AdminInvalidNameException | if the name of the user is not a legal user name.
TIBCO.EMS.ADMIN..::.AdminNameExistsException | if a user already exists with the given name.

# See Also

Admin Class
TIBCO.EMS.ADMIN Namespace