setTeamMembers

Establishes the membership of a team for a folder or workspace. (V1.0.3)

Syntax

public void setTeamMembers( long binderId, String[] memberNames );

Description

The setTeamMembers operation establishes the members of a team for a folder or workspace.

Parameters and Return Value

binderId

The binder identifier of the folder or workspace for which you want to establish team membership.

memberNames

An array containing the names of all team members for the folder or workspace.

Example

call.setOperationName(new QName(“setTeamMembers”)); Object result = call.invoke(new Object[] {new Long(21), users});

This code establishes each username in the array users as team members for the folder or workspace whose binder identifier is 21.

See Also