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.
Syntax
HRESULT OnAuthenticated(
[in] BSTR bstrWorkspaceId,
[in] BSTR bstrUserName
);
Parameters
[in] bstrWorkspaceId
A string that contains the connection ID.
[in] bstrUserName
A string that contains a user name.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 |
Minimum supported server | Windows Server 2008 R2 |
Target Platform | Windows |
Header | workspaceruntime.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for