Prompt voor Outlook-objectmodel configureren bij het toegang krijgen tot de eigenschap Formula van een UserProperty-object: registerwaarde promptoomformulaaccessGebruikerHKCU\software\policies\microsoft\office\16.0\outlook\security

Beleids-ID
L_OOMFormula
Bereik
Gebruikersconfiguratie
Ondersteund op
Minimaal Windows Server 2008 R2 of Windows 7
Bron
Microsoft 365 Apps / Office Administrative Templates (versie 5568.1000)
Categorie
Microsoft Outlook 2016 › Beveiliging › Instellingen voor beveiligingsformulier › Beveiliging op programmeerniveau

Register

promptoomformulaaccess

REG_DWORDGebruiker
Waarde bij ingeschakeld
Afhankelijk van de waarde van de optie
Element
Gedrag van Guard:
Opties
ItemOpgeslagen waarde
Gebruiker vragen1
Automatisch goedkeuren2
Automatisch weigeren0
Gebruiker vragen op basis van computerbeveiliging3
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\security]

; Opties (gebruik er maar één)
; Gebruiker vragen
"promptoomformulaaccess"=dword:00000001
; Automatisch goedkeuren
"promptoomformulaaccess"=dword:00000002
; Automatisch weigeren
"promptoomformulaaccess"=dword:00000000
; Gebruiker vragen op basis van computerbeveiliging
"promptoomformulaaccess"=dword:00000003
CMD
:: Opties (gebruik er maar één)

:: Gebruiker vragen
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\security" /v "promptoomformulaaccess" /t REG_DWORD /d 1 /f
:: Automatisch goedkeuren
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\security" /v "promptoomformulaaccess" /t REG_DWORD /d 2 /f
:: Automatisch weigeren
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\security" /v "promptoomformulaaccess" /t REG_DWORD /d 0 /f
:: Gebruiker vragen op basis van computerbeveiliging
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\security" /v "promptoomformulaaccess" /t REG_DWORD /d 3 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\security' -Force | Out-Null

# Opties (gebruik er maar één)
# Gebruiker vragen
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\security' -Name 'promptoomformulaaccess' -PropertyType DWord -Value 1 -Force | Out-Null
# Automatisch goedkeuren
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\security' -Name 'promptoomformulaaccess' -PropertyType DWord -Value 2 -Force | Out-Null
# Automatisch weigeren
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\security' -Name 'promptoomformulaaccess' -PropertyType DWord -Value 0 -Force | Out-Null
# Gebruiker vragen op basis van computerbeveiliging
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\security' -Name 'promptoomformulaaccess' -PropertyType DWord -Value 3 -Force | Out-Null