共用方式為


SPDatabase.GrantAccess method (SecurityIdentifier)

授與指定之的使用者資料庫的存取權。

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

Syntax

'宣告
Protected Friend Sub GrantAccess ( _
    sid As SecurityIdentifier _
)
'用途
Dim sid As SecurityIdentifier

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

參數

請參閱

參照

SPDatabase class

SPDatabase members

GrantAccess overload

Microsoft.SharePoint.Administration namespace