다음을 통해 공유


SPDatabaseServiceInstance.GrantControlServerPermission method

Grant the permission to control server for a user

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

Syntax

'Declaration
Public Sub GrantControlServerPermission ( _
    sid As SecurityIdentifier _
)
'Usage
Dim instance As SPDatabaseServiceInstance
Dim sid As SecurityIdentifier

instance.GrantControlServerPermission(sid)
public void GrantControlServerPermission(
    SecurityIdentifier sid
)

Parameters

See also

Reference

SPDatabaseServiceInstance class

SPDatabaseServiceInstance members

Microsoft.SharePoint.Administration namespace