Export (0) Print
Expand All
Expand Minimize

Grant-SPProjectAdministratorAccess

Project Server 2013
 

Applies to: Project Server 2013

Topic Last Modified: 2013-12-18

Grants administrator permissions for the specified instance of Project Web App to the specified user or group.

Grant-SPProjectAdministratorAccess [-Url] <Uri> [-UserAccount] <String> [-AssignmentCollection <SPAssignmentCollection>]

The Grant-SPProjectAdministratorAccess cmdlet grants administrator permissions to a user or group for an instance of Project Web App. In SharePoint Permission mode, either a user, group, or claim may be specified for the UserAccount parameter. That user or group is placed in the Administrators for Project Web App group. In Project Server Permission mode only a user account may be specified and that user is placed in the default Administrators group within the Project Web App security model.

In Project Server Permission mode, if the default Administrators group in Project Web App has been modified, those modified permissions apply to the user account specified for the UserAccount parameter. For example, if all administrative permissions have been removed from the default Administrators group in Project Server Permission mode, then using this cmdlet results in effectively no administrative permissions being assigned to the specified user account.

For more information on Permission modes, see Plan user access in Project Server 2013.

 

Parameter Required Type Description

Url

Required

System.Uri

Specifies the site collection that contains the Project Web App instance to which administrator access will be granted.

UserAccount

Required

System.String

Specifies the user account to which administrator access will be granted. This account must be a specific user when in Project Server Permission mode or may be either a user or group when in SharePoint Permission mode.

AssignmentCollection

Optional

Microsoft.SharePoint.PowerShell.SPAssignmentCollection

Manages objects for the purpose of proper disposal. Use of objects, such as SPWeb or SPSite, can use large amounts of memory and use of these objects in Windows PowerShell scripts requires proper memory management. Using the SPAssignment object, you can assign objects to a variable and dispose of the objects after they are needed to free up memory. When SPWeb, SPSite, or SPSiteAdministration objects are used, the objects are automatically disposed of if an assignment collection or the Global parameter is not used.

NoteNote:
When the Global parameter is used, all objects are contained in the global store. If objects are not immediately used, or disposed of by using the Stop-SPAssignment command, an out-of-memory scenario can occur.

--------------EXAMPLE 1-------------------

Grant-SPProjectAdministratorAccess -Url http://contoso-AppSrv/pwa -UserAccount contoso\john.woods

This example grants administrator permissions to the specified user to the Project Web App instance at http://contoso-AppSrv/pwa.

--------------EXAMPLE 2-------------------

Grant-SPProjectAdministratorAccess -Url http://contoso-AppSrv/pwa -UserAccount contoso\PWAUsers

This example grants administrator permissions to the PWAUsers group for the Project Web App instance at http://contoso-AppSrv/pwa.

NoteNote:
Because this example grants permission to a group, it only works in SharePoint Permission mode.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft