Creates and sets the value of the specified application-defined property stored in the unsealed client-principal object.
Return type: LOGICAL
Applies to: Client-principal object handle
If successful, this method returns TRUE. Otherwise, it returns FALSE.
If you call this method more than once per property, the AVM raises a run-time error. This prevents the definition of multiple properties with the same name.
After you seal the client-principal with a user authentication operation (SEAL( ) method, SECURITY-POLICY:SET-CLIENT( ) method, or SET-DB-CLIENT function), you cannot set any new or existing properties for the object. If you call this method for a sealed client-principal object, the AVM raises a run-time error.
Calling this method does not generate an audit event or an audit record.
You can use the GET-PROPERTY( ) method to get the value of a single property stored in the client-principal, or use the LIST-PROPERTY-NAMES( ) method to retrieve a list of the names of all properties stored in the object.
The following code fragment illustrates how to use the SET-PROPERTY( ) method: