Set-SPOUser

Configures properties on an existing user.

Syntax

Set-SPOUser
   -IsSiteCollectionAdmin <Boolean>
   -LoginName <String>
   -Site <SpoSitePipeBind>
   [<CommonParameters>]

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.

For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at http://go.microsoft.com/fwlink/p/?LinkId=251832 (http://go.microsoft.com/fwlink/p/?LinkId=251832).

Examples

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

PS C:\> {{ Add example code here }}

{{ Add example description here }}

Required Parameters

-IsSiteCollectionAdmin

{{Fill IsSiteCollectionAdmin Description}}

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online
-LoginName

{{Fill LoginName Description}}

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online
-Site

{{Fill Site Description}}

Type:SpoSitePipeBind
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online