SPDatabaseServiceInstance.GrantViewServerStatePermission Method
Grants the specified user permission to view the server state.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
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