Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 1c7c8c5

Browse files
authored
function not supported with AAD
1 parent 6eb829a commit 1c7c8c5

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

docs/t-sql/functions/is-rolemember-transact-sql.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: "IS_ROLEMEMBER (Transact-SQL)"
33
title: "IS_ROLEMEMBER (Transact-SQL) | Microsoft Docs"
44
ms.custom: ""
5-
ms.date: "03/14/2017"
5+
ms.date: "10/01/2021"
66
ms.prod: sql
77
ms.prod_service: "database-engine, sql-database, synapse-analytics, pdw"
88
ms.reviewer: ""
@@ -53,7 +53,10 @@ IS_ROLEMEMBER ( 'role' [ , 'database_principal' ] )
5353
|1|*database_principal* is a member of *role*.|
5454
|NULL|*database_principal* or *role* is not valid, or you do not have permission to view the role membership.|
5555

56-
## Remarks
56+
## Remarks
57+
58+
**IS_ROLEMEMBER** is not supported for Azure Active Directory users and applications.
59+
5760
Use IS_ROLEMEMBER to determine whether the current user can perform an action that requires the database role's permissions.
5861

5962
If *database_principal* is based on a Windows login, such as Contoso\Mary5, IS_ROLEMEMBER returns NULL, unless the *database_principal* has been granted or denied direct access to [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)].

0 commit comments

Comments
 (0)