HRESULT AuthenticateRadiusUser( [in] BSTR bstrUsername, [in] BSTR bstrUserPassword, [in] IFWXAuthenticationCompletion* pIFWXAuthenticationCompletion, [in] UserContextType UserData );
String value that specifies the user name with which to perform authentication.
String value that specifies the user password with which to perform authentication.
Pointer to an IFWXAuthenticationCompletion interface.
An opaque value that can be used to differentiate between authentication operations. This value will be passed in the UserData parameter of the CompleteAsyncAuthentication method on the IFWXAuthenticationCompletion interface specified in the pIFWXAuthenticationCompletion parameter when this authentication operation completes.
This method returns S_OK if the call is successful; otherwise, it returns a Windows error code, in which case the authentication operation is not initiated and the completion function will not be called.
An application filter can use IFWXFirewall2::CreateRadiusAuthenticator to get the IFWXRadiusAuthenticator interface. When a request is received on a listener that has RADIUS authentication enabled, and the application filter needs to perform RADIUS authentication, it calls IFWXRadiusAuthenticator::AuthenticateRadiusUser and gives it the pointer to its IFWXAuthenticationCompletion interface.
|Server||Requires Windows Server 2008.|
|Version||Requires Forefront Threat Management Gateway (TMG).|
Declared in Wspfwext.idl.
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.