Cookbooks
iis
documentation
Iis Manager Permission

back to resource list (opens in a new tab)


iis_manager_permission

Set the permissions for user access to the IIS Manager

Requires: Server 2016+

Actions

  • :config : Configure the given path to allow only the defined users and groups access. Removes any other principals. This is an idempotent action.

Properties

NameTypeRequiredDescription
config_pathStringNoName property. The IIS Manager path to be configured. Usually just the site name. Taken from the name attribute if not set, The config_path takes the form of_site_name_/application/application (where applications are optional)
usersArrayNoArray of users to be allowed access
groupsArrayNoArray of groups to be allowed access

Examples

iis_manager_permission 'Default Web Site' do
  users ['BUILTIN\\Users']
end