SPDatabase.GrantAccess method (SecurityIdentifier)

Grants the specified user access to the database.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Protected Friend Sub GrantAccess ( _
    sid As SecurityIdentifier _
)
'Usage
Dim sid As SecurityIdentifier

Me.GrantAccess(sid)
protected internal void GrantAccess(
    SecurityIdentifier sid
)

Parameters

See also

Reference

SPDatabase class

SPDatabase members

GrantAccess overload

Microsoft.SharePoint.Administration namespace