SPDatabaseServiceInstance.GrantViewServerStatePermission method
Grants the specified user permission to view the server state.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub GrantViewServerStatePermission ( _
sid As SecurityIdentifier _
)
'Usage
Dim instance As SPDatabaseServiceInstance
Dim sid As SecurityIdentifier
instance.GrantViewServerStatePermission(sid)
public void GrantViewServerStatePermission(
SecurityIdentifier sid
)
Parameters
sid
Type: System.Security.Principal.SecurityIdentifierThe security identifier of the user.
See also
Reference
SPDatabaseServiceInstance class