Skip to content

Commit 9c87de8

Browse files
authored
Merge pull request #1030 from ShreyasSar26/patch-1
Membership management corrections in example
2 parents 90a6b28 + 268977d commit 9c87de8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Add-SPOContainerUser.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ For permissions and the most current information about Windows PowerShell for Sh
4141
### Example 1
4242

4343
```powershell
44-
Add-SPOContainerUser 423poi45 -LoginName [email protected] Owner
44+
Add-SPOContainerUser 423poi45 -LoginName [email protected] -Role Owner
4545
```
4646

4747
Example 1 assigns the role of owner to user with User Principal Name "[email protected]".

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Remove-SPOContainerUser.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ For permissions and the most current information about Windows PowerShell for Sh
3939
### Example 1
4040

4141
```powershell
42-
Remove-SPOContainerUser 423poi45 -LoginName [email protected] Owner
42+
Remove-SPOContainerUser 423poi45 -LoginName [email protected] -Role Owner
4343
```
4444

4545
Example 1 removes the user with User Principal Name "[email protected]" from the role of an owner of container whose ContainerId is 423poi45 .

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainerUser.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ For permissions and the most current information about Windows PowerShell for Sh
4040
### Example 1
4141

4242
```powershell
43-
Set-SPOContainerUser 423poi45 -LoginName [email protected] Manager
43+
Set-SPOContainerUser 423poi45 -LoginName [email protected] -Role Manager
4444
```
4545

4646
Example 1 reassigns the role of User Principal Name "[email protected]" to manager.

0 commit comments

Comments
 (0)