sharepoint 2010 - Set SPUser command in powershell -
can please confirm if powershell command sharepoint 2010 sends email when adding users sp groups. cannot test out right confirming whether if case how can not make send email user when being added group.
comparing in ui when add user group there default check box sending email users.
set-spuser -identity 'contoso\jdow' -web http://test -addpermissionlevel "contributor"
thanks
the code supplied doesn't add user sharepoint group. gives user contributor access site. default, not send email. have write powershell script send email.
to add user group, this
set-spuser -identity 'contoso\jdow' -web http://test -group 'groupname'
Comments
Post a Comment