Set-WebSitesUser

Modifies account properties for a website user.

Syntax

Set-WebSitesUser
   [-Name] <String>
   [[-PublishingUserName] <String>]
   [[-PublishingPassword] <String>]
   [-RemoteSettings <RemoteSettings>]
   [-SuppressRequestIdLine]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

The Set-WebSitesUser cmdlet modifies account properties for a website user.

Examples

Example 1: Modify the account properties for a website user

PS C:\> Set-WebSitesUser -Name "User01" -PublishingUserName "NewPubUser01" -PublishingPassword "NewPassWord01!"

This command changes the publishing name and publishing password for User01.

Required Parameters

-Name

Specifies the name of the user whose account is being modified. For example:

-Name "PattiF"

Type:String
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-PublishingPassword

Specifies the password for the PublishingUserName parameter. PublishingUserName specifies the account name used for publishing website content.

For example:

-PublishingPassword "p@ssw0rd"

Type:String
Position:2
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-PublishingUserName

Specifies the user account name used when publishing website content. For example:

-PublishingUserName "PattiFPublishing"

Type:String
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-RemoteSettings

{{Fill RemoteSettings Description}}

Type:RemoteSettings
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SuppressRequestIdLine

{{Fill SuppressRequestIdLine Description}}

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False