This Legacy API is available in OLSA v8 for backward compatibility. For OLSA v8, it is recommended that you use the UM_EditUserExtended service which includes enhancements for custom user profile fields.
This web service edits various attributes of an existing user in the OLSA environment. A user can only be moved to a single different group through this API. A user can be deactivated with this function by setting the active field to zero (0). This disables the user but retains any of the usage data managed by OLSA.
OLSA Administrators, managers or end users cannot edit a Super Administrator user. Only a Super Administrator user can edit another Super Administrator.
Note: If you are using OLSA with Privacy Support enabled, when invoking this web service, you must specify the login name of a user created using the UM_CreateUser web service, not the login name of a user created in Skillport. This is because a hashed login name is required by this web service, and only OLSA (not Skillport) creates this type of login name.
Input Parameters
Form Field |
URL Parameter |
Required |
Description |
Customer Id |
customerId |
X |
The sname provided by Skillsoft. The string identifies the customer of the OLSA environment. |
User Name |
userName |
X |
The login name of the user to be created. |
Group Code |
groupCode |
|
This is the Org Code of the group you want to add the user to. This code creates a user in one or more groups. Submit as a comma delimited list to create a user in more than one group, for example, orgcode1, orgcode2, orgcode3 Note: Group OrgCodes are limited to 240 characters. |
Password |
password |
|
The password for the Login Username. |
First Name |
firstName |
|
The first name of the user you are creating. |
Last Name |
lastName |
|
The last name of the user you are creating. |
|
The email address of the user you are creating. |
||
Manager |
manager |
|
Enter an Approval Manager for the user. The value must match the username of an existing user. |
Auth type |
authType |
|
The role of the user. Specify one of the following:
|
Birth Date |
birthDate |
|
The user's birth date. Enter in MM/DD/YYYY format. |
Active |
isActive |
|
Use this field to activate or deactivate the user. Valid values are 0 or 1. |
Sex |
sex |
|
The user's gender. Enter using M or F. (maximum 254 characters) |
Address 1 |
address1 |
|
The user's address (maximum 254 characters). |
Address 2 |
address2 |
|
The user's address (maximum 254 characters). |
City |
city |
|
The city the user lives in (maximum 254 characters). |
State |
state |
|
The state the user lives in. Enter the two character abbreviation. (maximum 254 characters) |
Zip |
zip |
|
The user's zip code. (maximum 20 characters) |
Country |
country |
|
Country where user lives. (maximum 254 characters) |
Phone |
phone |
|
The user's telephone number. (maximum 254 characters) |
ccNumber |
ccNumber |
|
This field original intent was to store a credit card number. However, you can use it to store any information up to 16 characters in length. (maximum 254 characters) |
ccType |
ccType |
|
This field original intent was to store a credit card type (VISA, AMEX, and so forth). However, you can use it to store any information. (maximum 254 characters) |
cc |
ccExpr |
|
This field original intent was to store a credit card expiration date in MMYY format. However, you can use it to store any information up to 4 digits in length. Do not enter slashes in this field. (maximum 254 characters) |
Free1 |
free1 |
|
Use this field to enter any other notes or pertinent information about the user, up to 104 characters. (maximum 254 characters) |
language |
userLang |
|
If the canchangelanguageui SKP parameter is enabled, the language preference of the user being edited can be specified in this field. Valid values are:
|
New User Name |
newUserName |
|
The new username (EditUser only). The user name is converted to lowercase before it is validated. The user name cannot start with an apostrophe (') or a dash (-). Neither non-breaking white spaces (space, tab, new line) nor double-byte characters (for example, Japanese or Chinese characters) are allowed.
Note: There exists a list of reserved words that you cannot use (doing so produces an error). The following are the most common: add, all, block, count, down, force, link, mount, off, simple, tag, up. |
For the complete list of inputs, see General User Attributes.
Outputs
Additional Faults
The following table lists the faults this service may produce, the fault string, and possible causes for the fault.
Fault |
Condition |
Possible Cause |
GeneralFault
|
Error: Last Name field is too long. Max 255 characters. |
The value in the |
Error: First Name field is too long. Max 255 characters. |
The value in the |
|
Error: Org Code groupX not found. |
The |
|
Error: A user with this username already exists. |
The value in the |
|
Error: Invalid AuthId field. Only 'Admin' and 'Manager' can be customized. |
The value in the |
|
Error: Approval manager name is not valid. |
The value in the |
|
Error: Group not found. |
The value in the |
|
Error: The language selection is not available. Please check your database settings. |
The |
|
Error: User not updated - nothing to update. |
No user values changed. |
|
Error: Unmigrated userstat field SEX is not available through this command. |
This field was not migrated during the upgrade to v8. |
|
Error: Unmigrated userstat field ADDRESS1 is not available through this command. |
This field was not migrated during the upgrade to v8. |
|
Error: Unmigrated userstat field ADDRESS2 is not available through this command. |
This field was not migrated during the upgrade to v8. |
|
Error: Unmigrated userstat field CITY is not available through this command. |
This field was not migrated during the upgrade to v8. |
|
Error: Unmigrated userstat field STATE is not available through this command. |
This field was not migrated during the upgrade to v8. |
|
Error: Unmigrated userstat field ZIP is not available through this command. |
This field was not migrated during the upgrade to v8. |
|
Error: Unmigrated userstat field COUNTRY is not available through this command. |
This field was not migrated during the upgrade to v8. |
|
Error: Unmigrated userstat field PHONE is not available through this command. |
This field was not migrated during the upgrade to v8. |
|
Error: Unmigrated userstat field CCNUMBER is not available through this command. |
This field was not migrated during the upgrade to v8. |
|
Error: Unmigrated userstat field CCTYPE is not available through this command. |
This field was not migrated during the upgrade to v8. |
|
Error: Unmigrated userstat field CCEXPR is not available through this command. |
This field was not migrated during the upgrade to v8. |
|
Error: Unmigrated userstat field FREE1 is not available through this command. |
This field was not migrated during the upgrade to v8. |
|
Error: Approval Manager selection is not available. Please check your database settings. |
The |