Applies to: desktop apps only
The ExportSecurIDDomainSecret method exports the RSA SecurID domain secret to a file.
HRESULT ExportSecurIDDomainSecret( [in] BSTR FileName, [in] BSTR Password );
FPCSecurIDAuthenticationProperties.ExportSecurIDDomainSecret( _ ByVal FileName As String, _ ByVal Password As String _ )
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.
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.
This method returns S_OK if the call is successful; otherwise, it returns an error code.
This method has no return values. If the call is unsuccessful, an error is raised that can be intercepted by using an error handler.
We recommend that you export the domain secret to a file on removable media.
Minimum supported client
Minimum supported server
|Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)|
|Forefront Threat Management Gateway (TMG) 2010|
Build date: 7/12/2010