Getting Started Guide: UserManagementService OverviewUserManagementService provides operations for user authentication, data, and authorization management. About User ManagementUsers are associated with companies and are granted authorizations for master accounts, accounts, campaigns, and so on. User information is managed by master account administrators and account managers as well as by the users themselves. Administrators and ManagersTo add, get, or update user information for another user, use the operations that include the word "User" or which belong to the MasterAccountUserManagementWrite or AccountUserManagementWrite capabilities. You must have an administrator or manager role for the master account or for the account to which the user belongs. UsersTo add, get, or update your own user information, use the operations that include the word "My" or which belong to the Selfcare capability. OperationsThe UserManagementService operations are shown here, organized loosely by type:
User AuthenticationUsers belong to companies. Companies are added to the system when customers enroll with Yahoo! Search Marketing. See Enrollment. To determine the users in a company, use the getUsersInCompany operation. To add a new user, administrators and managers should use the addUser operation. The username that you specify must be unique; use the testUsername operation to check if the username is available. If the operation is successful, the system will send the user an email with instructions on how to login and set the password. To enable or disable a user, administrators and managers should use the enableUser or disableUser operations. Note: Unlike the web application, when you disable a user via EWS, you prevent the user from accessing any and all master accounts and accounts the user previously had access to. Both operations will change the status of the user. To check the status of a user, use the getUserStatus operation. To request a password change for another user, use the resetUserPassword operation. Because administrators and managers cannot directly change the password of another user, the resetUserPassword operation will send the user an email that informs the user how to change the password. To update your own password, use the updateMyPassword operation. User InformationInformation about a user includes the user's general information, which is managed through the UserManagementService, and the user's billing information, which is managed through the VaultService. General information includes the user's profile, address, and email address. To review or update this information for another user, use the corresponding "User" operations. To review or update your own information, use the corresponding "My" operations. User AuthorizationA user authorization is an association between a user, a role, and an account and, together with the provisions of your EWS license, determine which operations a user can perform. See Roles and Capabilities. AuthorizationsTo add, delete, or review authorizations for another user, use the corresponding "User" operations. To review your own authorizations, use the getMyAuthorizations operation. For the addAuthorizationForUser and addAuthorizationsForUser operations, note the following. You cannot grant a user a role on a master account and one of its associated accounts at the same time. You cannot grant a user more than one role per account. For example:
To determine user authorizations for a specific master account or account, use the getAuthorizedUsersByMasterAccountID and getAuthorizedUsersByAcccountID operations. Roles and CapabilitiesTo determine the roles for a specific account or the capabilities for a specific role, use the getAvailableRolesByAccountID and getCapabilitiesForRole operations.
|