Partager via


Viewing a User's Group Membership

Applies To: Windows Server 2008 R2

This topic explains how to use the Active Directory module for Windows PowerShell to view a user’s group membership.

Example

The following example demonstrates how to view the group membership of the user SaraDavis:

Get-ADPrincipalGroupMembership -Identity SaraDavis

Additional information

For a full explanation of the parameters that you can pass to Get-ADPrincipalGroupMembership, at the Active Directory module command prompt, type Get-Help Get-ADPrincipalGroupMembership –detailed, and then press ENTER.