Metodo IEnumUserIdentity::GetCount

[GetCount non è supportato e potrebbe essere modificato o non disponibile in futuro. Usare invece gli account utente con il passaggio rapido degli utenti e Desktop remoto.

Ottiene il conteggio delle identità utente attualmente presenti nel sistema.

Sintassi

HRESULT GetCount(
  [out] ULONG *pnCount
);

Parametri

pnCount [out]

Tipo: ULONG*

Puntatore a un ULONG che riceve il conteggio.

Valore restituito

Tipo: HRESULT

Se questo metodo ha esito positivo, restituisce S_OK. In caso contrario, restituisce un codice di errore HRESULT .

Commenti

Se il supporto per più identità utente è disabilitato, pnCount riceverà il valore 1.

Requisiti

Requisito Valore
Client minimo supportato
Windows XP [solo app desktop]
Server minimo supportato
Windows Server 2003 [solo app desktop]
Fine del supporto client
Windows XP
Fine del supporto server
Windows Server 2003
Intestazione
Msident.h
IDL
Msident.idl
DLL
Msident.dll

Vedi anche

IEnumUserIdentity

IEnumUserIdentity::Skip

IEnumUserIdentity::Reset

IEnumUserIdentity::Next