ARTICLE

Squadron Ensure User Command

Posted by Jean Paul Articles | SharePoint 2010 April 09, 2013
In this article we can explore a new command associated with Squadron > Explorer add-in.
Reader Level:

In this article we can explore a new command associated with Squadron; the Explorer add-in.

What is Ensure User?

Ensure User is the command that invokes the EnsureUser() method for the SPWeb objects specified.

Why we need to call it?

For each new user in a web site, a user record is added to the User Info table. For new SharePoint installations, when the users login to the site the first time, there will be simultaneous addition of records to the table that might result in a SQL Server Throttling error.

The wise advice for the problem is to add the user explicitly to each web site before opening SharePoint to public.

Squadron1.jpg

Squadron is a Free SharePoint Administration tool available at www.sharepointcto.com.

Squadron2.jpg

How to perform Ensure User?

Please download & install the latest version of Squadron. After executing it in Farm Account mode you will receive the following screen.

Squadron3.jpg

Enter the URL in the top pane & click the Explorer item from the left pane. In the SharePoint Web Application view that appears, select your web item.

Squadron4.jpg

Click on the "Ensure User" button visible in the screen. In the dialog that appears enter the user names in the format DOMAIN\User:

Squadron5.jpg

After entering the user names, click the "Execute" button in the bottom to continue. You will get the following message box after the operation is completed.

Squadron6.jpg

This ensures that the user is available in the UserInfo table for the particular web site. This will prevent the possible SQL Server Errors happening in SharePoint Installations with hundreds of users.

Squadron1.jpg

You can also invoke the Ensure User within the Web Application & Site Collection level. The same button will be enabled for those commands.

For Web Application item selection:

Squadron7.jpg


For Site Collection item selection:

Squadron8.jpg

On invoking the Ensure User command, all the Web items will be enumerated in the selection dialog. You can select the web items to be processed for.

Squadron9.jpg

References

http://bit.ly/10uiVpB

Summary

In this article we have explored the Ensure User command. There are more commands associated with the Explorer Add-in of Squadron; plus, they are context sensitive based on Site / Web / List / Item types.
 

COMMENT USING

Trending up