IWorkspaceScriptable::OnAuthenticated method (workspaceruntime.h)
Marks the authentication of user credentials for the connection ID, and subsequently shows the connect notification in the taskbar notification area. The OnAuthenticated method also resets the credential time-out.
HRESULT OnAuthenticated(
[in] BSTR bstrWorkspaceId,
[in] BSTR bstrUserName
);
[in] bstrWorkspaceId
A string that contains the connection ID.
[in] bstrUserName
A string that contains a user name.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirement | Value |
---|---|
Minimum supported client | Windows 7 |
Minimum supported server | Windows Server 2008 R2 |
Target Platform | Windows |
Header | workspaceruntime.h |