Scenario:
My sharepoint farm administrator keep asking me to automate one or the other thing command through a single script. One of the step involved was to update site administrator information.
Solution:
I prefer STSADM over Powershell.Here's I did it.
Code:
STSADM -o siteowner -ownerlogin domain\admin1 -secondarylogin domain\admin2Article:
STSADM -o siteowner -ownerlogin CustomMembershipProvider:admin1 -secondarylogin CustomMembershipProvider:admin2
http://technet.microsoft.com/en-us/library/cc262637.aspx
0 comments:
Post a Comment