SPDatabase.GrantAccess method

Grants access to the database for specified users.

Overload list

  Name Description
Protected method GrantAccess(SecurityIdentifier) Grants the specified user access to the database.
Protected method GrantAccess(SecurityIdentifier, String) Grants the specified user access to the database and adds the user to the specified role.

Top

See also

Reference

SPDatabase class

SPDatabase members

Microsoft.SharePoint.Administration namespace