Setting object values
You can change administration object data with the instance methods associated with the administration object. You can also change administration object data with the static methods associated with the Java™ class representing the administration object.
Before using the instance methods, you must obtain a local copy
of the object, as outlined in Obtaining a local copy of an object.
After obtaining the object, you can change information about the object
using the instance methods. For example, to disable the account associated
with a Verify Identity Access user
from a local copy of the
PDUser object, use: user.setAccountValid(mySecurityContext,
false, // Disable the account
messages);The instance method changes
both local copy of the administration object as well as the object
stored on the policy server.To update the
PDUser object on the policy server,
use the static method: PDUser.setAccountValid(mySecurityContext,
name,
false, // Disable the account
messages);