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.
Disconnects an online identity from the current domain user.
Syntax
HRESULT DisconnectIdentity();
Return value
If the method succeeds, the method returns S_OK.
If the method fails, the method returns a Win32 error code.
| Return code | Description |
|---|---|
|
The method succeeded. |
|
The domain user is not connected to an online identity. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 [desktop apps only] |
| Minimum supported server | Windows Server 2012 [desktop apps only] |
| Target Platform | Windows |
| Header | identityprovider.h |