SPProcessIdentity.GrantIdentityDatabaseAccess Method
Grants access to databases that are used by the process identity.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Protected Overridable Sub GrantIdentityDatabaseAccess
'Usage
Me.GrantIdentityDatabaseAccess()
protected virtual void GrantIdentityDatabaseAccess()