Permissions.SaveGroup

Saves group settings. If the group does not exist it creates a new group with the specified settings.

Permissions.SaveGroup parameters

Name Type Description
group_description xsd:string A group description.
group_name xsd:string A group name.
group_type* xsd:int A group type. Supported types include: 0: Custom group. 1: Pre-defined group.
groupid* xsd:string A permission group identifier.
report_access_list tns:report_categories A list of permissions categories for the group's members. Supported categories include: 0: No access. 1: Some access. 2: All access.
report_id_list array(xsd:int) List of report IDs if the reports are in a partial group.
rsid_list array(xsd:string) List of report suite IDs accessible by the group.
user_list array(xsd:string) List of user accounts to assign to this group.
perm_info tns:perm_info The permissions data to associate with the permissions group.
* When creating a new group, do not include group_type or groupid in the request. The Online Marketing Suite creates these values as part of the group creation process. After creating a new group, use Permissions.GetGroups to see the new group's groupid value.

Permissions.SaveGroup response

Type Description
xsd:int Returns 1 if the add user operation is successful. Otherwise, returns 0.

Comments (0)

Must be logged in to comment. or register now to comment!