IWorkspaceScriptable::ClearWorkspaceCredential method (workspaceruntime.h)
Deletes the user credentials associated with the specified connection ID.
Syntax
HRESULT ClearWorkspaceCredential(
[in] BSTR bstrWorkspaceId
);
Parameters
[in] bstrWorkspaceId
A string that contains a connection ID.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
If the connection ID has no active connections, it is removed from the credential store.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 |
Minimum supported server | Windows Server 2008 R2 |
Target Platform | Windows |
Header | workspaceruntime.h |