Monday, August 13, 2012

Adding permissions to a group that was created without permissions

If you have created a group in SharePoint 2010 and did not assign it permission at the time of creation, the following steps will allow you to add permissions.

  1. Site Actions >> Site Permissions
    1. image
  2. On the ribbon, select Grant Permissions (Note: your group will not be visible in this list of groups)
    1. image
  3. Enter your group in the Select Users box (ex: Tony_Readers)
    1. image
  4. Click the “Check Names” button
    1. image
  5. In Grant Permissions, select "Grant user permissions directly" and select the permission(s) you wish to grant the group.
    1. image
  6. Click Ok

When the list refreshed, you will now see your group in the list of groups and it will have permissions.

Monday, July 30, 2012

Attach to the correct w3wp process in Visual Studio 2010

In Visual Studio 2010 on W2k8R2 or W2k3

Click Tools >> External Tools

Click Add

For SharePoint 2010 (W2k8R2 IIS 7)

Title: w3wp process

Command: %windir%\system32\inetsrv\appcmd.exe

Arguments: list wp

Select, Use Output Window

Click OK


For SharePoint 2007 (W2k3 IIS 6)

Title: w3wp process

Command: cscript.exe

Arguments: c:\windows\system32\iisapp.vbs

Select, Use Output Window

Click OK



To use:

Click Tools >> w3wp process

In the Output window, you will see the results


To Attach to the correct process:

Press ctrl + alt + p

Select the wpw3 process with the corresponding ID from the values in the Output window


Click Attach