Add a User to an Account

Adding a user to your existing account allows you to provide access to the account to a new person while also regulating what actions that user can perform. You can perform this action via the SOAP API to add new users to accounts owned by embedded partners, or you can use this code to add users from information taken from third-party sources, such as HR systems.

The user's permissions determine which actions a user can or cannot perform and what information they can view within an account.

Be sure to have the correct username and password information for the new user for use in the creation process. Avoid using XML-sensitive characters such as #, ^, <, >, or & in the password.

Use the sample code below as a model for your API call. This sample code includes the required attributes for each user using the AccountUser object.

When dealing with Single Sign-on functionality, you can add this information to the example: