SPWebApplication.GrantAccessToProcessIdentity Method
SharePoint 2010
Grants the specified process identity account access to the Web application based on the parameters that are provided.
| Name | Description | |
|---|---|---|
|
GrantAccessToProcessIdentity(String) | Grants the specified process identity account access to the Web application based on the username. Access to the process identity provides the permissions that are specified in the policy role parameter. |
|
GrantAccessToProcessIdentity(String, SPPolicyRoleType) | Grants the specified process identity account access to the Web application based on the name of the user and the level of access. Access to the process identity provides full control of the SharePoint Web application. |