IEnumUserIdentity::Reset method

[IEnumUserIdentity::Reset is not supported and may be altered or unavailable in the future. Instead, use User Accounts with Fast User Switching and Remote Desktop.]

Resets the internal count of retrieved interfaces in the enumeration.

Syntax

HRESULT Reset();

Parameters

This method has no parameters.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

IEnumUserIdentity keeps an internal count that specifies which interface is next to be retrieved. Calling this method will reset the value of this count.

Requirements

Requirement Value
Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
End of client support
Windows XP
End of server support
Windows Server 2003
Header
Msident.h
IDL
Msident.idl
DLL
Msident.dll

See also

IEnumUserIdentity

IEnumUserIdentity::Skip

IEnumUserIdentity::GetCount

IEnumUserIdentity::Next