Get-R1DirectoryEntryMember

SYNOPSIS

Returns the members of a group entry.

SYNTAX

Explicit (Default)

Get-R1DirectoryEntryMember -dn <String> [<CommonParameters>]

Dynamic

Get-R1DirectoryEntryMember -dn <String> [-Dynamic] [<CommonParameters>]

DESCRIPTION

Returns the members of a group. The explicit membership is returned by default; use -Dynamic for the membership resolved from a dynamic group URL.

EXAMPLES

Example 1

Get-R1DirectoryEntryMember -dn 'cn=admins,o=example'

Returns the explicit members of a group.

Example 2

Get-R1DirectoryEntryMember -dn 'cn=everyone,o=example' -Dynamic

Returns the members resolved by a dynamic group.

PARAMETERS

-dn

The DN of the entry.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Dynamic

Works on the dynamic membership rather than the explicit one.

Type: SwitchParameter
Parameter Sets: Dynamic
Aliases:

Required: True
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

System.String

NOTES

Set-R1DirectoryEntryMember

Search-R1DirectoryEntryMember