Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The DisassociateIdentity method disassociates the specified identity from a local user account.
Syntax
HRESULT DisassociateIdentity(
[in] HWND hwndParent,
[in] LPCWSTR lpszUniqueID
);
Parameters
[in] hwndParent
A handle to the parent of the window used to collect account credentials.
[in] lpszUniqueID
The identity to disassociate.
Return value
If the method succeeds, it returns S_OK.
If the method fails, it returns an error code. For a list of common error codes, see Common HRESULT Values.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Target Platform | Windows |
Header | identityprovider.h |