Let's Chat?

Updating an Existing User

Use the UpdateUser endpoint to change a Glance user's profile.

https://www.glance.net/PAPI/UpdateUser.asp

Parameters

Be sure to include the required authentication parameters with each request.

Also include parameters to describe the changes to your user.

Parameter Type Required or Optional
PartnerUserID up to 255 characters required
UserSuspended Boolean (1 | 0 | yes | no | true | false) optional
UserActive Boolean (1 | 0 | yes | no | true | false) optional (deprecated, use UserSuspended)
UserAddress Glance Address optional
UserPW up to 49 characters optional
UserFirst up to 49 characters optional
UserLast up to 49 characters optional
UserEmail up to 127 characters optional
UserRole up to 31 characters optional

This updates the user’s record using any of the supplied fields. The user’s record is not changed for fields not supplied. This can also be used to temporarily suspend or reinstate the user.

Parameter Details

PartnerUserID: The unique ID you assigned to this user upon creation. This value identifies the user you wish to update.

UserSuspended: (optional) If you give a "1" or "true" value, you suspend an active user. If you give a "0" or "false" value for this parameter, you reinstate a suspended user. If you do not give this parameter, your user's status is unchanged. Some Glance customers with seasonal workloads suspend users during their off seasons and reinstate them during their peak seasons.

UserActive: (deprecated, optional) If you give a "0" or "false" you make an active user inactive. If you give a "1" or "true" value for this parameter, you reinstate an inactive user. If you do not give this parameter, your user's active status is unchanged.

NOTE: UserActive is a legacy status. It is deprecated in favor of UserSuspended. Please update your systems to use UserSuspended. UserActive will be removed in a future release. If both parameters are included, UserSuspended takes priority.

UserAddress: (optional) If you give this parameter you change the unique Glance Address for this user.

UserFirst, UserLast: (optional) If you give either of these parameters, you change the user's first (given) name and / or last name (surname).

UserEmail: (optional) If you give this parameter you change the user’s email address.

UserRole: (optional) If you give this parameter, you change the user's role. Give the special value -none- to remove the user's role assignment. If you use roles, you must provision them before you assign them. Some Glance customers do not use roles. For more information about user roles please contact Glance Customer Success.

Responses

See here.

By continuing to use the site, you agree to the use of cookies. Learn More