Applies to: desktop apps only
The GenerateSecurIDDomainSecret method generates a new RSA SecurID domain secret and exports it to a file.
HRESULT GenerateSecurIDDomainSecret( [in] BSTR FileName, [in] BSTR Password );
FPCSecurIDAuthenticationProperties.GenerateSecurIDDomainSecret( _ ByVal FileName As String, _ ByVal Password As String _ )
C++ Required. BSTR that specifies the full path of the file to which the new domain secret will be exported. VB Required. String that specifies the full path of the file to which the new domain secret will be exported.
C++ Required. BSTR that specifies the password that will protect the file containing the new domain secret. VB Required. String that specifies the password that will protect the file containing the new 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 new 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