In SharePoint we are having permission level operations. To that SharePoint group we can add users through Site Settings -> Site Permissions.
And also we can give permissions using PowerShell scripts.
For Single User:
new-spuser -UserAlias "User1" -Web "http://test:100/sites/home1" -Group "TestUsers"
For Every One:
new-spuser -UserAlias "Everyone" -Web "http://test:100/sites/home1" -Group "TestUsers"
By executing this PowerShell script we can add users to the SharePoint groups.
thank you,
No comments:
Post a Comment