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
appPool
Type: Microsoft.SharePoint.Administration.SPIisWebServiceApplicationPoolThe process identity to add the user.