SPDatabase.GrantAccess Method (SecurityIdentifier)
Grants the specified user access to the database.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Protected Friend Sub GrantAccess ( _
sid As SecurityIdentifier _
)
'Usage
Dim sid As SecurityIdentifier
Me.GrantAccess(sid)
protected internal void GrantAccess(
SecurityIdentifier sid
)
Parameters
sid
Type: System.Security.Principal.SecurityIdentifierThe security identifier of the user.