FreeCredentials

Short Description

Frees the handle returned by GetCredentials.

Category

Authorization methods

Interface Version

ISecurity 1.0

Syntax

FreeCredentials(credHandle);

Parameters

Method Parameters
Parameter
Type
Direction
Description
credHandle
string
in
Credential handle to free.

Details

The FreeCredentials method frees the SAS Metadata Server credentials associated with the handle returned by the GetCredentials method. Each handle returned by the GetCredentials method should be freed.

Exceptions Thrown

The FreeCredentials method does not return any exceptions.

Example

The following is a Java example of a FreeCredentials method call:
//  Assumes parameter is a valid credential handle that
// was previously obtained with the GetCredentials method
iSecurity.FreeCredentials(credHandle.value);

Related Methods