ConfigurationExtensions.

SetAuthorization(Configuration, string, string, string, AuthorizationSettings) Method

Summary

Sets the authorization settings.
Assembly
Cake.IIS.dll
Namespace
Cake.IIS
Containing Type
ConfigurationExtensions

Syntax

public static Configuration SetAuthorization(this Configuration config, string serverType, string site, string appPath, AuthorizationSettings settings)

Parameters

Name Type Description
config Configuration The config object to adjust.
serverType string The type of the server.
site string The name of the site.
appPath string The application path.
settings AuthorizationSettings The authorization settings.

Return Value

Type Description
Configuration