| |
— | sharepoint:pnp:user_and_group_management [2022/08/10 05:56] (current) – created - external edit 127.0.0.1 |
---|
| ====== User and group management ====== |
| |
| |
| | Cmdlet | Description | | |
| | [[https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/add-pnpalert?view=sharepoint-ps|Add-PnPAlert]] | Adds an alert for a user to a list | | |
| | [[https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/get-pnpalert?view=sharepoint-ps|Get-]][[https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/get-pnpalert?view=sharepoint-ps|PnPAlert]] | Returns registered alerts for a user. | | |
| | [[https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/remove-pnpalert?view=sharepoint-ps|Remove-PnPAlert]] | Removes an alert for a user | | |
| | [[https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/get-pnpgroup?view=sharepoint-ps|Get-]][[https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/get-pnpgroup?view=sharepoint-ps|PnPGroup]] | Returns a specific SharePoint group or all SharePoint groups in site. | | |
| | [[https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/new-pnpgroup?view=sharepoint-ps|New-]][[https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/new-pnpgroup?view=sharepoint-ps|PnPGroup]] | Adds group to the Site Groups List and returns a group object | | |
| | [[https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/remove-pnpgroup?view=sharepoint-ps|Remove-PnPGroup]] | Removes a group from a web. | | |
| | [[https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/set-pnpgroup?view=sharepoint-ps|Set-]][[https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/set-pnpgroup?view=sharepoint-ps|PnPGroup]] | Updates a group | | |
| | [[https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/get-pnpgroupmembers?view=sharepoint-ps|Get-]][[https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/get-pnpgroupmembers?view=sharepoint-ps|PnPGroupMembers]] | Retrieves all members of a group | | |
| | [[https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/get-pnpgrouppermissions?view=sharepoint-ps|Get-]][[https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/get-pnpgrouppermissions?view=sharepoint-ps|PnPGroupPermissions]] | Returns the permissions for a specific SharePoint group | | |
| | [[https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/set-pnpgrouppermissions?view=sharepoint-ps|Set-]][[https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/set-pnpgrouppermissions?view=sharepoint-ps|PnPGroupPermissions]] | Adds and/or removes permissions of a specific SharePoint group | | |
| | [[https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/get-pnpuser?view=sharepoint-ps|Get-]][[https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/get-pnpuser?view=sharepoint-ps|PnPUser]] | Returns site users of current web | | |
| | [[https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/new-pnpuser?view=sharepoint-ps|New-]][[https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/new-pnpuser?view=sharepoint-ps|PnPUser]] | Adds a user to the built-in Site User Info List and returns a user object | | |
| | [[https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/remove-pnpuser?view=sharepoint-ps|Remove-PnPUser]] | Removes a specific user from the site collection User Information List | | |
| | [[https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/remove-pnpuserfromgroup?view=sharepoint-ps|Remove-PnPUserFromGroup]] | Removes a user from a group | | |
| | [[https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/add-pnpusertogroup?view=sharepoint-ps|Add-PnPUserToGroup]] | Adds a user to a group | | |