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)
Syntax
'Declaration
Protected Overridable Sub GrantIdentityDatabaseAccess
'Usage
Me.GrantIdentityDatabaseAccess()
protected virtual void GrantIdentityDatabaseAccess()