addUserWorkspace

Adds a new personal workspace. (V1.0.3)

Syntax

public long addUserWorkspace ( long userId );

Description

The addUserWorkspace operation adds a new personal workspace to the workspace hierarchy.

The primary purpose of this operation is to assist with migrating data from SiteScape Forum to Teaming. By default using Teaming, the creation of the personal workspace occurs when someone first uses the portal software to sign in with a username and password. If you want to migrate Forum information as sub-content to a personal workspace in Teaming, use this operation before creating the sub-content.

Parameters and Return Value

userId

The identifier for the user for whom you want to create the personal workspace

return_value

The binder identifier of the newly created personal workspace.

Example

call.setOperationName(new QName("addUserWorkspace")); Object result = call.invoke(new Object[] {new Long(21)});

This code creates a new personal workspace.