SPUserCodeService.UpdateRegistryKeyPermissions method
Updates the permissions for the built-in user account to access the registry key.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Sub UpdateRegistryKeyPermissions
'Usage
SPUserCodeService.UpdateRegistryKeyPermissions()
public static void UpdateRegistryKeyPermissions()
Remarks
The server machine must be a domain controller.