Remove-PubItemUserFilter

NAME

Remove-PubItemUserFilter

SYNOPSIS

Removes a user account from the filter of type 'User' for the specified published resource.

SYNTAX

Remove-PubItemUserFilter [-InputObject] <PubItem> [-Account <string>] [-SID <string>] [-SiteId <uint>] [<CommonParameters>]

Remove-PubItemUserFilter [-Id] <uint> [-Account <string>] [-SID <string>] [-SiteId <uint>] [<CommonParameters>]

DESCRIPTION

This cmdlet only allows you to remove a user account from the filter.

It does not remove (or disable) the filter itself.

PARAMETERS


-Account <string>
The name of the user/group account to remove from the filter.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SID <string>
The SID of the user/group account to remove from the filter.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-InputObject <PubItem>
An object specifying the published resource to be updated.

To obtain the object, use the Get-PubItem cmdlet.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       true (ByValue)
        Accept wildcard characters?  false

-Id <uint>
Published resource ID.

        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SiteId <uint>
Site ID.

        Required?                    false
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

<CommonParameters>
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters documentation. 

INPUTS

PubItem

OUTPUTS

-none-

EXAMPLES


---------- EXAMPLE 1 ----------

Remove-PubItemUserFilter -Id 12 -Account "JaneDoe" -SiteId -2

Removes the specified user account from the filter for the published resource specified by ID.

The -SiteId parameter specifies the site to which the resource belongs.

---------- EXAMPLE 2 ----------

Remove-PubItemUserFilter -Id 12 -Account "SID://DOMAIN/JaneDoe" -SiteId -2

Removes the specified user account from the filter for the published resource specified by ID.

The -SiteId parameter specifies the site to which the resource belongs.

---------- EXAMPLE 3 ----------

Remove-PubItemUserFilter -Id 12 -SID "S-1-7-21-1452357886-1659455039-1882266777-3189"

Removes the specified user account (by SID) from the filter for the published resource specified by ID.

RELATED LINKS