GET-PROPERTY( ) methodGets the value of the specified application-defined property stored in the client-principal object. The client-principal object may be sealed or unsealed. If the specified property is not stored in the object, or the property does not have a value, this method returns the Unknown value (?).
Return type:
Applies to:
GET-PROPERTY ( property-name )A case-sensitive character string that specifies the name of an application-defined property stored in the client-principal object. You must enclose this character string in quotes.You can also use the LIST-PROPERTY-NAMES( ) method to retrieve a list of all application-defined properties stored in the client-principal.
DEFINE VARIABLE hCP AS HANDLE NO-UNDO.DEFINE VARIABLE vVal AS CHARACTER NO-UNDO.. . .CREATE CLIENT-PRINCIPAL hCp.. . .vVal = hCP:GET-PROPERTY("eye-color").DISPLAY "Eye color: " vVal.
© 2012 Progress Software Corporation and/or its subsidiaries or affiliates. |