.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Sandeep Singh
Melody Anderson
Eminent IT

Home >> Articles >> SharePoint >> Post New Resource Bookmark and Share   

 Subscribe to Articles

Add user to SharePoint Sites using stsadm command

Posted By:Sunil Yadav       Posted Date: June 30, 2010    Points: 50    Category: SharePoint    URL: http://www.dotnetspark.com  

Code snippet below explains how we can add user in sharepoint using STSADM command line utility.

Following is the way to add user to sharepoint site using stsadm command.


stsadm -o adduser -url http://mossportal -userlogin Username -useremail user1234@domain.com -group "Farm Administrators" -username "Administrators"

 Subscribe to Articles


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend