Skip to content

Get-TwitterListMembership

SYNOPSIS

Displays the public lists, or any lists owned by the authenticating user, of which the specified user is a member.

SYNTAX

Get-TwitterListMembership [-User <User>] [-IncludeExpansions] [-MaxResultsPerPage <Int32>] [-NoPagination]

DESCRIPTION

Displays the public lists, or any lists owned by the authenticating user, of which the specified user is a member.

EXAMPLES

Example 1

PS > Get-TwitterListMembership

Display public lists whose membership includes the authenticating user.

Example 2

PS > Get-TwitterUser -User windosnz | Get-TwitterListMembership

Display public lists whose membership includes the user WindosNZ.

PARAMETERS

-User

A user object, returned by Get-TwitterUser, for which to return lists of which they are a member.

Type: BluebirdPS.APIV2.UserInfo.User
Parameter Sets: (All)
Aliases:

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

-IncludeExpansions

Include the list owner.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:

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

-MaxResultsPerPage

The maximum number of results to be return by each page of the request.

Note: By default, this command will request all available pages of data with each page request counting against the rate limit threshold.

You can force the command only return a single page with the NoPagination switch.

Type: System.Int32
Parameter Sets: (All)
Aliases:

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

-NoPagination

Only return the first page of data for the request.

Note: By default, this command will request all available pages of data with each page request counting against the rate limit threshold.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
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

BluebirdPS.APIV1.List[]

NOTES

Online Version

Api Reference - GET /2/users/:id/list_memberships