Skip to content

Latest commit

 

History

History
122 lines (91 loc) · 2.31 KB

Set-KshUser.md

File metadata and controls

122 lines (91 loc) · 2.31 KB
external help file Module Name online version schema
SPClientCore.dll-Help.xml
SPClientCore
2.0.0

Set-KshUser

SYNOPSIS

Updates a user.

SYNTAX

Set-KshUser [-Identity] <User> [-Email <String>] [-IsSiteCollectionAdmin <Boolean>] [-Title <String>]
 [-PassThru] [<CommonParameters>]

DESCRIPTION

The Set-KshUser cmdlet updates properties of the user.

EXAMPLES

Example 1

PS C:\> Set-KshUser -Identity (Get-KshUser -Identity 'i:0#.f|membership|[email protected]') -IsSiteCollectionAdmin $true

Updates property values of the user.

PARAMETERS

-Email

Specifies the e-mail address.

Type: String
Parameter Sets: (All)
Aliases:

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

-Identity

Specifies the user.

Type: User
Parameter Sets: (All)
Aliases:

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

-IsSiteCollectionAdmin

Specifies whether the user is a site collection administrator.

Type: Boolean
Parameter Sets: (All)
Aliases:

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

-PassThru

If specified, returns the updated object.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-Title

Specifies the title.

Type: String
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

Karamem0.SharePoint.PowerShell.Models.V1.User

OUTPUTS

Karamem0.SharePoint.PowerShell.Models.V1.User

NOTES

RELATED LINKS