To obtain a local copy of an administration
object, use the constructor for the Java™ class
representing the administration object.
For example, to get a copy of the PDUser object
representing a particular Security Verify Access user,
you would use the PDUser constructor as shown in Figure 1.
Figure 1. Getting a local
copy of a PDUser object
/*------------------------------------------------------------------
* Obtain a user using the PDUser constructor.
*------------------------------------------------------------------
*/
// Set up all of the user's attributes
String name = "Zachary Wommbat";
String firstName = "Zachary";
String lastName = "Wommbat";
String rgyName = "cn=" + name + "," + rgySuffix;
PDRgyUserName pdRgyUserName =
new PDRgyUserName(rgyName, firstName, lastName);
messages.clear()
PDUser user = new PDUser(mySecurityContext,
pdRgyUserName,
messages);
After obtaining a local copy of the administration object, use
the instance methods on the object to retrieve or set data associated
with the object.