SPServer.EnsureWebServiceApplicationPoolAcountIsMemberOfLocalWorkerProcessGroup method

Adds the user associated with the specified process identity to WSS_WPG.

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

Syntax

'Declaration
Public Shared Sub EnsureWebServiceApplicationPoolAcountIsMemberOfLocalWorkerProcessGroup ( _
    appPool As SPIisWebServiceApplicationPool _
)
'Usage
Dim appPool As SPIisWebServiceApplicationPoolSPServer.EnsureWebServiceApplicationPoolAcountIsMemberOfLocalWorkerProcessGroup(appPool)
public static void EnsureWebServiceApplicationPoolAcountIsMemberOfLocalWorkerProcessGroup(
    SPIisWebServiceApplicationPool appPool
)

Parameters

See also

Reference

SPServer class

SPServer members

Microsoft.SharePoint.Administration namespace