Share via


IFPCSecurIDAuthenticationProperties::ImportSecurIDDomainSecret method

Applies to: desktop apps only

The ImportSecurIDDomainSecret method imports the RSA SecurID domain secret from a file.

Syntax

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

Parameters

  • FileName [in]

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

    C++ Required. BSTR that specifies the password protecting the file containing the domain secret.
    VB Required. String that specifies the password protecting the file containing the 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

Use the ExportSecurIDDomainSecret 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