IFPCSecurIDAuthenticationProperties::ExportSecurIDDomainSecret method

Applies to: desktop apps only

The ExportSecurIDDomainSecret method exports the RSA SecurID domain secret to a file.

Syntax

HRESULT ExportSecurIDDomainSecret(
  [in]  BSTR FileName,
  [in]  BSTR Password
);
FPCSecurIDAuthenticationProperties.ExportSecurIDDomainSecret( _
  ByVal FileName As String, _
  ByVal Password As String _
)

Parameters

  • FileName [in]

    C++ Required. BSTR that specifies the full path of the file to which the domain secret will be exported.
    VB Required. String that specifies the full path of the file to which the domain secret will be exported.
  • Password [in]

    C++ Required. BSTR that specifies the password that will protect the file containing the exported domain secret.
    VB Required. String that specifies the password that will protect the file containing the exported domain secret.

Return value

C++

This method returns S_OK if the call is successful; otherwise, it returns an error code.

VB

This method has no return values. If the call is unsuccessful, an error is raised that can be intercepted by using an error handler.

Remarks

We recommend that you export the domain secret to a file on removable media.

Use the ImportSecurIDDomainSecret method to import a domain secret from a file, or the GenerateSecurIDDomainSecret method to generate a new domain secret.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCSecurIDAuthenticationProperties

 

 

Build date: 7/12/2010