UserManagementService provides operations for user, authorization, and payment method management.
Operations that include the word "my" can be executed by any user but only to add, get, or update their own user information. User name and password are included in the SOAP header for the request.
Operations that include the word "user" can be executed by an administrator for another user but only if the administrator has access to that user's information based on the admin's role and the account.
For more information about UserManagementService, see UserManagementService in the Getting Started Guide.
The WSDL for this service is located at UserManagementService.wsdl.
Create a new user record and associate that user with this master account. The new user will get an email with instructions on how to login and set their password. If the username you try in this operation already exists, the operation will be rejected. Use testUsername to try a user name before creating a new user. The new user does not have a default role in the system (and therefore no access). Grant authorizations to this user with addAuthorizationsForUser.
Capability required: AccountUserManagementWrite
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| username | String | The login name for the new user. |
| password | String | The default password for the new user. |
| userInfo | User | The user profile information. |
| address | Address | The user address information. |
none
Grant the specified authorizations for the master account or account to a user. An authorization is an association between a role and an account.
Capability required: AccountUserManagementWrite
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| username | String | The name of the user. |
| authorizations[] | Authorization[] | A list of authorizations to grant to the user. |
none
Return the available roles that you are able to grant for the given account type and the given account ID. Your ability to grant roles is dependent on your own role for the given account.
Capability required: AccountUserManagementRead
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| accountType | AccountType | The type of account (master account or account). |
| accountID | long | The account ID. |
Role[] - A list of roles that you can grant.
Check if the given username is available in the system.
Capability required: AccountUserManagementRead
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| username | String | The user name to test. |
boolean - An indication whether the name is available.
Return your user profile information.
Capability required: Selfcare
License command group: Marketing
none
User - The user profile (name, email, phone numbers, and so on).
Return your address information.
Capability required: Selfcare
License command group: Marketing
none
Address - The address information or null if no Address on file.
Update your user profile. To update your email address, use updateMyEmail.
Capability required: Selfcare
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| userInfo | User | The user information. All elements are optional. |
none
Update your address information.
Capability required: Selfcare
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| address | Address | The address information. All elements are optional. |
none
Update your email address.
Capability required: Selfcare
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| String | The email address, in standard name@domain.ext format. |
none
Return a list of your authorizations for all the master accounts or accounts to which you have access.
Capability required: Selfcare
License command group: Marketing
none
Authorization[] - A list of authorizations. An authorization is an association with an account and a role. From the authorization you can find the account ID, type, and role.
Update the profile for a specific user. You must have access to user management capabilities to perform this operation. Note that you cannot update a user's email address; users must update their own email.
Capability required: AccountUserManagementWrite
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| username | String | The name of the user. |
| userInfo | User | The new user profile. |
none
Update the address for a specific user. You must have access to user management capabilities to perform this operation.
Capability required: AccountUserManagementWrite
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| username | String | The name of the user. |
| address | Address | The new address. |
none
Return the user profile for a specific user. You must have access to user management capabilities to perform this operation.
Capability required: AccountUserManagementRead
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| username | String | The name of the user. |
User - The user profile.
Return the address for a specific user. You must have access to user management capabilities to perform this operation.
Capability required: AccountUserManagementRead
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| username | String | The name of the user. |
Address - The user's address.
Return the email address for a specific user. You must have access to user management capabilities to perform this operation.
Capability required: AccountUserManagementRead
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| username | String | The name of the user. |
String - The user's email address.
Return the status for a specific user. You must have access to user management capabilities to perform this operation.
Capability required: AccountUserManagementRead
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| username | String | The name of the user. |
UserStatus - The user's status.
Return the list of authorizations for a specific user. An authorization is an association between a role and a master account or an account. You must have access to user management capabilities to perform this operation. Note that a user with the AccountAdministrator role has implicit access to all the child accounts under a master account, so an explicit role is not assigned for each account.
Capability required: AccountUserManagementRead
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| username | String | The name of the user. |
Authorization[] - A list of authorizations. An authorization is an association with an account and a role. From the authorization you can find the account ID, type, and role.
Return all the users associated with your company (the level above the master account). You must have access to user management capabilities to perform this operation.
Capability required: AccountUserManagementRead
License command group: Marketing
none
String[] - A list of user names.
Return a list of UserAuthorization elements for the current master account. You must have access to user management capabilities to perform this operation. A UserAuthorization is an association between a user, role, and an account, and defines the access that user has to that account.
Capability required: AccountUserManagementRead
License command group: Marketing
none
UserAuthorization[] - A list of UserAuthorization elements. A UserAuthorization is an association between a user, role, and an account. From the UserAuthorization you can find the specific user, account ID, and role.
Return a list of UserAuthorization elements for the given account. You must have access to user management capabilities to perform this operation. A UserAuthorization is an association between a user, role, and an account, and defines the access that user has to that account. If accountIDs is not specified, this operation returns the UserAuthorization elements for all accounts this user has access to.
Capability required: AccountUserManagementRead
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| accountIDs[] | long[] | A list of account IDs. |
UserAuthorization[] - A list of UserAuthorization elements. A UserAuthorization is an association between a user, role, and an account. From the UserAuthorization you can find the specific user, account ID, and role.
Revoke authorizations for a given user. You must have access to user management capabilities to perform this operation. The authorization defines the association between a role and an account. If no authorizations are specified, all roles for the given user for the current master account and all child accounts are revoked.
Capability required: AccountUserManagementWrite
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| username | String | The name of the user. |
| authorizations[] | Authorization[] | A list authorizations to revoke; if null, will revoke all authorizations for this user for the current master account and all child accounts. |
none
Delete the given user. You must have administrator access to the master account the user was originally created for to perform this operation.
Capability required: UserManagementDelete
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| username | String | The name of the user. |
none
Delete a list of users. You must have administrator access to the master account all the users were originally created for to perform this operation.
Capability required: UserManagementDelete
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| usernames[] | String[] | A list of user names. |
none
Update your password. The old password is passed in through the SOAP header.
Capability required: Selfcare
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| newPassword | String | The new password. |
none
Force a password reset for another user. You must have access to user management capabilities to perform this operation. Note that you cannot directly change the password for another user; this operation triggers a change password email to be sent to the user at the email address contained in their user profile.
Capability required: AccountUserManagementWrite
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| username | String | The name of the user. |
none
Returns the capabilities for the specified Role. Roles define user roles such as AccountAdministrator; capabilities define the kinds of operations that role can perform and thus the amount of access the user has to the system.
Capability required: AccountUserManagementRead
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| role | Role | The user Role. |
Capability[] - A list of capabilities.
Add credit card and billing information for the current master account.
Capability required: AccountUserManagementWrite
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| billingUserInfo | User | The billing user contact information. |
| billingAddress | Address | The billing address information. |
| cc | CreditCardInfo | The credit card information. |
long - The unique identifier for this payment method in the system.
Update billing or credit card information for the master account.
Capability required: AccountUserManagementWrite
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| id | long | The unique identifier for this payment method in the system. You can get this ID with the getPaymentMethods operation. |
| billingUserInfo | User | The billing user contact information. |
| billingAddress | Address | The billing address information. |
| cc | CreditCardInfo | The credit card information. Note that the cardNumber and cardType elements of CreditCardInfo cannot be updated; to add a new card use addCreditCard instead. |
none
Return the payment methods for the master account.
Capability required: AccountUserManagementRead
License command group: Marketing
none
PaymentMethodInfo[] - A list of PaymentMethodInfo elements. From the PaymentMethodInfo you can get payment method identifiers, the last four digits of the credit card number, and its expiration date.
Copyright © 2006 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Copyright Policy - Job Openings