IIdentityProvider::Delete method (identityprovider.h)

The Delete method removes the specified identity from the identity store or the specified properties from the identity.

Syntax

HRESULT Delete(
  [in]           LPCWSTR           lpszUniqueID,
  [in, optional] const PROPVARIANT *pKeywordsToDelete
);

Parameters

[in] lpszUniqueID

The unique name associated with the identity.

[in, optional] pKeywordsToDelete

The names of properties to delete. If the value of this parameter is NULL, the identity is deleted.

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

See also

IIdentityProvider