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
sid
Type: System.Security.Principal.SecurityIdentifierSecurity Identifier of the user
See also
Reference
SPDatabaseServiceInstance class