---
UID: NF:comsvcs.ISecurityIdentityColl.get_Count
title: ISecurityIdentityColl::get_Count (comsvcs.h)
description: Retrieves the number of properties in the security identity collection.
old-location: cos\isecurityidentitycoll_get_count.htm
tech.root: cossdk
ms.assetid: 43363504-ee5e-4d1c-a7eb-c4f003d84d57
ms.date: 12/05/2018
ms.keywords: ISecurityIdentityColl interface [COM+],get_Count method, ISecurityIdentityColl.get_Count, ISecurityIdentityColl::get_Count, _cos_ISecurityIdentityColl_get_Count, comsvcs/ISecurityIdentityColl::get_Count, cos.isecurityidentitycoll_get_count, get_Count, get_Count method [COM+], get_Count method [COM+],ISecurityIdentityColl interface
f1_keywords:
- comsvcs/ISecurityIdentityColl.get_Count
dev_langs:
- c++
req.header: comsvcs.h
req.include-header: 
req.target-type: Windows
req.target-min-winverclnt: Windows 2000 Professional [desktop apps only]
req.target-min-winversvr: Windows 2000 Server [desktop apps only]
req.kmdf-ver: 
req.umdf-ver: 
req.ddi-compliance: 
req.unicode-ansi: 
req.idl: 
req.max-support: 
req.namespace: 
req.assembly: 
req.type-library: 
req.lib: 
req.dll: 
req.irql: 
topic_type:
- APIRef
- kbSyntax
api_type:
- COM
api_location:
- ComSvcs.h
api_name:
- ISecurityIdentityColl.get_Count
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# ISecurityIdentityColl::get_Count


## -description


Retrieves the number of properties in the security identity collection.


## -parameters




### -param plCount [out]

The number of properties in the security identity collection.


## -returns



This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, E_FAIL, and S_OK.




## -see-also




<a href="https://docs.microsoft.com/windows/desktop/api/comsvcs/nn-comsvcs-isecurityidentitycoll">ISecurityIdentityColl</a>
 

 

