addGroupMembership addgroupmembership
Adds a user to an array of groups.
Syntax
Authorized User Types section-fe950150718a474d8df30d0f4453c022
IpsAdmin
IpsCompanyAdmin
ImagePortalAdmin
Parameters section-e250f6ddb13646808c6a8860b6442bc5
Input (addGroupMembershipParam)
Name
Type
Required
Description
userHandle
xsd:string
No
Handle to the user whose group membership you want to add.
groupHandleArray
xsd:HandleArray
Yes
Array of handles to the groups you want the company to belong to.
Output (addGroupMembershipParam)
The IPS API does not return a response for this operation.
Examples section-f7a1f40c3d7a40ea964b29056c734d81
This example adds a group to a company with groupHandleArray. This example uses one group only.
Request
<ns1:addGroupMembershipParam xmlns:ns1="http://www.scene7.com/IpsApi/xsd">
<ns1:companyHandle>47</ns1:companyHandle>
<ns1:groupHandleArray><ns1:items>225</ns1:items></ns1:groupHandleArray>
</ns1:addGroupMembershipParam>
Response
None.
recommendation-more-help
4e9b9d8c-5839-4215-aa35-01b652869681