getLifecycleStatus

Returns the lifecycle status of the specified credential.

For Java:

Copy
String getLifecycleStatus(CredentialId credId)
throws NoSuchCredentialException, SessionException, ManagementException, LocalizedRemoteException;

For C++:

Copy
TString getLifecycleStatus(CredentialId *credId)

Parameters:

  • credId—Credential identifier.

Returns:

The lifecycle status of the specified credential, which will be one of the following:

  • CRED_STATUS_ACTIVE

  • CRED_STATUS_SUSPENDED

  • CRED_STATUS_REVOKED

Exceptions:

  • NoSuchCredentialException—if the specified credential is not found.

  • SessionException—if there is no valid session (such as session not opened or timed out).

  • ManagementException—if an internal failure occurs.

  • LocalizedRemoteException— (thrown by the Web service layer) only when the most severe, unexpected, SOAP-level failures occur.