---
UID: NF:azroles.IAzPrincipalLocator.get_NameResolver
title: IAzPrincipalLocator::get_NameResolver (azroles.h)
description: Gets a pointer to the IAzNameResolver interface associated with this IAzPrincipalLocator object.
old-location: security\iazprincipallocator_nameresolver_method.htm
tech.root: SecAuthZ
ms.assetid: 98826583-b31d-47f1-957b-38a0ab962f73
ms.date: 12/05/2018
ms.keywords: IAzPrincipalLocator interface [Security],NameResolver property, IAzPrincipalLocator.NameResolver, IAzPrincipalLocator.get_NameResolver, IAzPrincipalLocator::NameResolver, IAzPrincipalLocator::get_NameResolver, NameResolver property [Security], NameResolver property [Security],IAzPrincipalLocator interface, azroles/IAzPrincipalLocator::NameResolver, azroles/IAzPrincipalLocator::get_NameResolver, get_NameResolver, security.iazprincipallocator_nameresolver_method
f1_keywords:
- azroles/IAzPrincipalLocator.NameResolver
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: Azroles.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:
- Azroles.h
api_name:
- IAzPrincipalLocator.NameResolver
- IAzPrincipalLocator.get_NameResolver
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# IAzPrincipalLocator::get_NameResolver


## -description


The <b>NameResolver</b> method gets a pointer to the <a href="https://docs.microsoft.com/windows/desktop/api/azroles/nn-azroles-iaznameresolver">IAzNameResolver</a> interface associated with this <a href="https://docs.microsoft.com/windows/desktop/api/azroles/nn-azroles-iazprincipallocator">IAzPrincipalLocator</a> object.

This property is read-only.


## -parameters

