Saturday, August 14, 2010

Set Account As SharePoint System Account


In my previous two post related to SharePoint System Account i explain how to display you custom “DOMAIN/<<UserName>>” instead of “System Account”. But in this post i am going to explain different thing opposite to previous post.

Previous Posts : Post1 Post2

There are two way to achieve this thing.

1. Go To Central Admin Site
2. Security –> Configure Service Accounts
image
3. Select your application pool
4. then Select an account for this component (Select your account)
image

If your account is not already register as manage account then click on “Register new managed account”.
image
Another way to do same thing is

1. Go To Central Administration.
2. Click Application Management
3. Click Manage Web Application
4. Choose your web application
image
5. Click on “User Policy”
6. When “Policy for Web Application” popup open click on “Add User”
image

7. Click next
image

8. In this add users for which you want to display that account as “System Account”. Make sure you have “Account operates as system” checkbox selected.
image 

Let me know your comment and view on this.

SharePoint/System Account Settings


In my previous post about SharePoint system account, i explain that how to configure account so that you can see your DOMAIN/<<UserName>> account as System Account.

But to do so you need SharePoint Central Administrator site permission. There is another way to do same thing using coding. ( Little bit trick :))

There is hidden List called “User Information List” in SharePoint site.You can find system account and update that listitem for “System Account”.

1. (Before Update Item)
image
2. Custom code to update item.

image

3.  In above code you can replace “your name” with your desired name.
4. After you can see in profile and Upper Right corner of your site.
image 

You can customize any account using above code. Sometime you want friendly name instead DOMAIN\<<UserName>>

Let me know your comment on this.

SharePoint System Account Issue


SharePoint\System account is special account. Sometime it happens that when you login using DOMAIN/<<UserName>> is display as “System Account”. (Following image)

 image

This is because of when application created or extended, during that time which account specify for application pool identity that consider as “SharePoint/System” account.

But if you want to display your username instead of “System Account” following are the solutions for that.

1. Go to Central Administration Site
2. Go to Security –> Configure Service Account
image
3. Next page you can see that “Credential Management”.
image
4. Select your application pool.
5. Select different account. (Other than your account). Which ever account you specify over here for that you can see “SharePoint/System” account.
6. If you still want that your application pool identity should be your name then manually set using IIS Manager.

Let me know if you still have any question about it.