setFunctionMembershipInherited

Establishes inheritance as the access-control mechanism for a folder or workspace. (V1.0.3)

Syntax

public void setFunctionMembershipInherited( long binderId, boolean inherit );

Description

The setFunctionMembershipInherited operation allows you to establish that a folder or workspace is to inherit its access-control settings from the parent binder. The primary purpose of this operation is to set inheritance for folders and workspaces that you migrate from Forum.

Parameters and Return Value

binderId

The binder identifier of the folder or workspace for which you want to establish inheritance for its access-control settings.

inherit

A boolean value that determines whether the folder or workspace uses inheritance to establish its access settings.

Example

call.setOperationName(new QName("setFunctionMembershipInherited")); Object result = call.invoke(new Object[] {new Long(21), new Boolean.TRUE});

This code establishes inheritance as the access-control mechanism for the folder or workspace whose binder identifier is 21.

See Also