Express (Distributed operating systems), v8.0 > Secure applications and their environment > Authenticate users > Select a registry or repository > Manage realms in a federated repository > Virtual member manager > Reference > Virtual member manager APIs > SchemaService interface


createRootDataObject method

Use the createRootDataObject method to create an empty root data object.


Purpose

The createRootDataObject method returns an empty root data object. All entity, control and context data objects are contained under the root data object. Client applications can use the root data object to build input data objects, such as an input data object for creating an entity through the create method.


Parameters

None


Returns

An empty virtual member manager root data object.


Exceptions


Signature

public DataObject createRootDataObject() throws WIMException, RemoteException


Sample

For example, the following code creates a PersonAccount data object and adds it under the Root data object.
DataObject root = service.createRootDataObject();
DataObject personAccount = root.createDataObject("entities",
"//www.ibm.com/websphere/wim", "PersonAccount");

Parent topic: SchemaService interface



+

Search Tips   |   Advanced Search