Skip to content

Commit 262c933

Browse files
authored
Update Add-SPOContainerUser
1 parent 1dc6392 commit 262c933

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

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

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.reviewer:
1414

1515
## SYNOPSIS
1616

17-
Assigns a particular membership of a container to users.
17+
Adds a user to a container with a specified role.
1818

1919
## SYNTAX
2020

@@ -30,15 +30,15 @@ Add-SPOContainerUser [-ContainerId] <String> -LoginName <String> -Role <String>
3030
Add-SPOContainerUser 423poi45 -LoginName shras@contoso.com-Role Owmer
3131
```
3232

33-
Example 1 assigns the role of owner to user with User Principal Name "shras@contoso.com"
33+
Example 1 assigns the role of owner to user with User Principal Name "shras@contoso.com".
3434

3535
## PARAMETERS
3636

3737
-ContainerId
3838

3939
> Applicable: SharePoint Online
4040

41-
Use this parameter to specify the Container ID.
41+
The unique identifier of the container to which the user is being added.
4242

4343
```yaml
4444
Type: String
@@ -56,7 +56,7 @@ Accept wildcard characters: False
5656

5757
> Applicable: SharePoint Online
5858

59-
The User Principal Name to whom a membership is to be assigned.
59+
The user’s login name to assign to the container. This is the User Principal Name.
6060

6161
```yaml
6262
Type: String
@@ -74,11 +74,13 @@ Accept wildcard characters: False
7474

7575
> Applicable: SharePoint Online
7676

77-
The membership role intended to be assigned to a user. The available roles are :
78-
Owner: have full control over the container and the contents of the container.
79-
Manager: can add, update, and delete contents of a container and also maintain permissions of the container but cannot delete a container.
80-
Writer: can add, update, and delete content in the container.
81-
Reader: can only view content in the container.
77+
The role to assign to the user within the container. Valid roles are:
78+
79+
Owner: Has full control over the container and its contents.
80+
Manager: Can add, update, and delete content, and manage permissions, but can't delete the container.
81+
Writer: Can add, update, and delete content in the container.
82+
Reader: Can only view content in the container.
83+
8284

8385
```yaml
8486
Type: String

0 commit comments

Comments
 (0)