getPrincipalAsXML

Returns information about one user or group. (V1—V1.0.3)

Syntax

public String getPrincipalAsXML( long binderId, long principalId );

Description

The getPrincipalAsXML operation returns XML whose elements provide information about one registered user or defined group.

Parameters and Return Value

binderId

The binder identifier of the principal’s parent workspace. The information returned by getAllPrincipalsAsXML includes the binder number of this containing workspace.

principalId

The identifier that maps to the user or group for which you want to gather information.

return_value

A string containing XML elements whose elements provide information about the specified user or group.

Example

call.setOperationName(new QName("getPrincipalAsXML")); Object result = call.invoke(new Object[] {new Long(2), new Long(25)});

This code returns information about a user or group, whose parent workspace has a binder identifier of 2 and whose principal identifier is 25.

See Also