OLAP-beveiligingsinstelling voor door de gebruiker gedefinieerde functie (UDF) voor draaitabel: registerwaarde olapudfsecurityGebruikerHKCU\software\policies\microsoft\office\16.0\excel\options

Beleids-ID
L_OLAPPivotTableUserDefinedFunctionUDFsecuritysetting
Bereik
Gebruikersconfiguratie
Ondersteund op
Minimaal Windows Server 2008 R2 of Windows 7
Bron
Microsoft 365 Apps / Office Administrative Templates (versie 5568.1000)
Categorie
Microsoft Excel 2016 › Diversen

Register

olapudfsecurity

REG_DWORDGebruiker
Waarde bij ingeschakeld
Afhankelijk van de waarde van de optie
Element
OLAP-beveiligingsinstelling voor door de gebruiker gedefinieerde functie (UDF) voor draaitabel
Opties
ItemOpgeslagen waarde
Alle UDF's toestaan1
Alleen veilige UDF's toestaan2
Geen UDF's toestaan3
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\excel\options]

; Opties (gebruik er maar één)
; Alle UDF's toestaan
"olapudfsecurity"=dword:00000001
; Alleen veilige UDF's toestaan
"olapudfsecurity"=dword:00000002
; Geen UDF's toestaan
"olapudfsecurity"=dword:00000003
CMD
:: Opties (gebruik er maar één)

:: Alle UDF's toestaan
reg add "HKCU\software\policies\microsoft\office\16.0\excel\options" /v "olapudfsecurity" /t REG_DWORD /d 1 /f
:: Alleen veilige UDF's toestaan
reg add "HKCU\software\policies\microsoft\office\16.0\excel\options" /v "olapudfsecurity" /t REG_DWORD /d 2 /f
:: Geen UDF's toestaan
reg add "HKCU\software\policies\microsoft\office\16.0\excel\options" /v "olapudfsecurity" /t REG_DWORD /d 3 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Force | Out-Null

# Opties (gebruik er maar één)
# Alle UDF's toestaan
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'olapudfsecurity' -PropertyType DWord -Value 1 -Force | Out-Null
# Alleen veilige UDF's toestaan
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'olapudfsecurity' -PropertyType DWord -Value 2 -Force | Out-Null
# Geen UDF's toestaan
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'olapudfsecurity' -PropertyType DWord -Value 3 -Force | Out-Null