Skip to content

Latest commit

 

History

History
96 lines (59 loc) · 2.25 KB

ienumuseridentity-getcount.md

File metadata and controls

96 lines (59 loc) · 2.25 KB
description ms.assetid title ms.topic ms.date topic_type api_name api_type api_location
GetCount is not supported and may be altered or unavailable in the future. Instead, use User Accounts with Fast User Switching and Remote Desktop.
1fe39f2d-f95e-4436-a780-40fe8bd41b74
IEnumUserIdentity::GetCount method (Msident.h)
reference
05/31/2018
APIRef
kbSyntax
IEnumUserIdentity.GetCount
COM
Msident.dll

IEnumUserIdentity::GetCount method

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

Gets the count of user identities currently on the system.

Syntax

HRESULT GetCount(
  [out] ULONG *pnCount
);

Parameters

pnCount [out]

Type: ULONG*

Pointer to a ULONG that receives the count.

Return value

Type: HRESULT

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

Remarks

If support for multiple user identities is disabled, pnCount will receive a value of 1.

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::Reset

IEnumUserIdentity::Next