Export (0) Print
Expand All

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

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft