Once
you create users, you often need to update their information. You
can update standard fields that Adobe Connect defines for users
by calling
principal-update
with the user’s
principal-id
.
The standard fields include
email
,
login
,
first-name
,
and
last-name
.
If you have defined custom fields for the principal, use
acl-field-update
to update
them.
You need Administrator privilege to update users, so your application
must first log in as a user in the
admins
group.
You cannot log in as the user and then have the user update his
or her own profile.
Update standard user information
-
Log
in as an Administrator user.
-
Call
principal-list
with a filter
to get the user’s
principal-id
(see
Find a principal-id
).
-
Call <<UNRESOLVED XREF>> principal-update to
update the user:
https://example.com/api/xml?action=principal-update
&principal-id=2006282569&email=jazzdoe@newcompany.com
-
Parse the response for a status code of
ok
.
Update custom field values for a user
-
Log in as an Administrator
user.
-
Call
custom-fields
to get the
field-id
of
the custom field:
https://example.com/api/xml?action=custom-fields
-
Get the
principal-id
,
sco-id
,
or
account-id
you want to update.
This value
is the
acl-id
you pass to
acl-field-update
.
-
Call
acl-field-update
to update the value
of the custom field:
https://example.com/api/xml?action=acl-field-update&field-id=x-2007396975&acl-id=2006258745&value=44444
|
|
|