Remove-WebSitesUser

Removes a website user.

Syntax

Remove-WebSitesUser
      [-Name] <String>
      [-Force]
      [-RemoteSettings <RemoteSettings>]
      [-SuppressRequestIdLine]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

The Remove-WebSitesUser cmdlet removes a website user. If the specified user is the owner of one or more subscriptions those subscriptions must be removed (or the owner changed) before you can use Remove-WebSitesUser to delete the user account.

Examples

Example 1: Remove a user

PS C:\> Remove-WebSitesUser -Name "User01"

This command removes the website user User01.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

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

-Force

Forces the command to run without asking for user confirmation.

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

-Name

Specifies the name of the website user being deleted. For example:

-Name "PattiF"

Type:String
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-RemoteSettings

{{Fill RemoteSettings Description}}

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

-SuppressRequestIdLine

{{Fill SuppressRequestIdLine Description}}

Type:SwitchParameter
Position:Named
Default value:None
Required:False
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
Required:False
Accept pipeline input:False
Accept wildcard characters:False