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
)
參數
sid
Type: System.Security.Principal.SecurityIdentifier使用者的安全性識別碼。