Share via


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

See also

Reference

SPDatabaseServiceInstance class

SPDatabaseServiceInstance members

Microsoft.SharePoint.Administration namespace