---
UID: NF:azroles.IAzRoleAssignments.get_Count
title: IAzRoleAssignments::get_Count (azroles.h)
description: Retrieves the number of IAzRoleAssignments objects in the collection.
old-location: security\iazroleassignments_count.htm
tech.root: SecAuthZ
ms.assetid: a137b247-ee0c-46da-8994-23ba88d207ad
ms.date: 12/05/2018
ms.keywords: Count property [Security], Count property [Security],IAzRoleAssignments interface, IAzRoleAssignments interface [Security],Count property, IAzRoleAssignments.Count, IAzRoleAssignments.get_Count, IAzRoleAssignments::Count, IAzRoleAssignments::get_Count, azroles/IAzRoleAssignments::Count, azroles/IAzRoleAssignments::get_Count, get_Count, security.iazroleassignments_count
f1_keywords:
- azroles/IAzRoleAssignments.Count
dev_langs:
- c++
req.header: azroles.h
req.include-header: 
req.target-type: Windows
req.target-min-winverclnt: Windows Vista [desktop apps only]
req.target-min-winversvr: Windows Server 2008 [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: Azroles.dll
req.irql: 
topic_type:
- APIRef
- kbSyntax
api_type:
- COM
api_location:
- Azroles.dll
api_name:
- IAzRoleAssignments.Count
- IAzRoleAssignments.get_Count
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# IAzRoleAssignments::get_Count


## -description


The <b>Count</b> property retrieves the number of <a href="https://docs.microsoft.com/windows/desktop/api/azroles/nn-azroles-iazroleassignments">IAzRoleAssignments</a> objects in the collection.

This property is read-only.


## -parameters

