Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Set-SPOUser

Published: July 16, 2012

Applies to:  Office 365 | SharePoint Online 

Configures properties on an existing user.

Set-SPOUser [-Site] <SpoSitePipeBind> [-LoginName] <String> [-IsSiteCollectionAdmin] <$true | $false>

Parameters

Parameter Required Type Description

Site

Required

Microsoft.Online.SharePoint.PowerShell.SpoSitePipeBind

Specifies the full URL of the site collection. It must be in a valid managed path in the company’s site.

LoginName

Required

System.String

Specifies the user name.

IsSiteCollectionAdmin

Required

System.Boolean

Specifies whether the user is a site collection administrator.

Detailed Description

Use the Set-SPOUser cmdlet to configure properties of an existing user. That is, to add or remove a user as a SharePoint Online site collection administrator.

You must have the SharePoint Online global administrator permission to run the cmdlet.

Input Types

Return Types

--------EXAMPLE--------

Set-SPOUser -Site https://contoso.sharepoint.com/sites/marketing -LoginName melissa.kerr@contoso.com -IsSiteCollectionAdmin $true 

This example makes melissa.kerr@contoso.com a SharePoint Online site collection administrator on https://contoso.sharepoint.com/sites/marketing.

Change History

Date Description

July 16, 2012

Initial publication

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.