Notifies Remote Desktop Gateway (RD Gateway) that it should silently reauthenticate and reauthorize the user.
HRESULT ReauthenticateUser( ULONG_PTR context );
A pointer to a ULONG that contains a value specific to this connection. Use the value that was passed by the AuthenticateUser method.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
When this method is called, RD Gateway silently attempts to reauthenticate and reauthorize the user. If the attempt fails, it disconnects the user. The authentication plug-in can use this method to periodically reauthenticate the user as needed.
For an example that uses the ReauthenticateUser method, see Remote Desktop Gateway Pluggable Authentication and Authorization Sample.
|Windows version||Windows 7 Windows Server 2008 R2|