In this small article we explore user creation in Active Directory and adding a user to a SharePoint site.About Active DirectoryActive Directory is a directory service created by Microsoft. (from here onward, referred to as AD). AD is used by most of the Windows Server operating systems like 2003, 2008 etc.AD allows storing user information, credentials, application settings, authentication management etc. AD can be considered as a database.The following are the components involved:
Note: While installing SharePoint 2010 to a Windows Server machine, please ensure that the Active Directory is already configured.Back to PracticalIn a production deployment SharePoint will be installed in a Windows Server operating system. Now we can try creating a user and adding to a SharePoint site.You need a Windows Server 2008 Installation / Virtual Machine to try this scenario.Step 1: Open Server ManagerOpen Server Manager Application from the desktop or through Start Menu.Start Menu > Programs > Administrative Tools > Server ManagerIn the application that appears, choose the following node:Server Manager > Roles > ADDS > (domain) > UsersStep 2: Create a new user inside ADDS.You can right-click on the Users item and choose New > User menu item.In the dialog that appears enter the following details:Click on the Next button; you will get the following Password dialog:Enter the password and uncheck the change password option. Click Next button to continue.Now click the Finish button and the user will be created.You will see the new user inside the list:Step 3: Try the user in the SharePoint site.Next you can try signing in using the new user created. You will get the following error message since the user does not have permission to the site.Step 4: Add the User to SharePoint site.Now sign in to the SharePoint site with administrative privileges. Choose the Site Actions > Site Permissions option to get the following screen:You can add the new user to any of the groups above.
For the time being I am adding the new user to the Members group. Click on the Members item and in the page that appears use the New > Add Users menu.In the dialog box that appears enter the user name, resolve it and click the OK button.Now the user is added to the list and you are ready to test the New User.Step 5: Test the New User.Now open a new browser and enter the home URL.E.g.: http://corpNow it will be opened in the previous user context; use the following option to sign in as a new user:In the prompt that appears, enter the newuser as name and the password for the user. You will be able to see the site.Possible ErrorIf you are getting an Access Denied error as following:Please ensure the following:
ReferencesAD Technologies OverviewSummaryIn this article we have explored user creation in Active Directory and adding the user to a SharePoint site.
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: