Partilhar via


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

See Also

Reference

SPDatabase Class

SPDatabase Members

GrantAccess Overload

Microsoft.SharePoint.Administration Namespace