The Certificate method sets or retrieves the user's X.509 certificate. This method only affects the certificate data associated with the current instance of the user object.
Syntax
The Certificate method has the following format:
Netegrity::AgentUser‑>Certificate([cert, certBinaryLen])
Parameters
The Certificate method accepts the following parameters:
cert (string)
(Optional) Specifies the certificate data to set.
certBinaryLen (int)
(Optional) Specifies the length of the certificate.
Return Value
The Certificate method returns one of the following values:
Specifies the new or existing certificate's data and length.
Specifies that the method failed.
Copyright © 2010 CA. All rights reserved. | Email CA about this topic |