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


Top 5 Contributors of the Month
david stephan

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:

Responses

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