modules/deploy/dsc/ext/PsGallery/xSharePoint.0.10.0.0/en-us/about_xSPWebAppPolicy.help.txt

NAME
    xSPWebAppPolicy

PARAMETERS
    WebAppUrl (Key, string)
    UserName (Key, string)
    PermissionLevel (Required, string, Allowed values: Deny All, Deny Write, Full Read, Full Control)
    ActAsSystemUser (Write, boolean)
    InstallAccount (Write, String)

DESCRIPTION

This resource is used to set the "super user" and "super reader" cache accounts for the specified web application object (as described in the TechNet article [Configure object cache user accounts in SharePoint Server 2013](https://technet.microsoft.com/en-us/library/ff758656.aspx)).

EXAMPLE

    xSPCacheAccounts SetCacheAccounts
    {
        WebAppUrl = "http://sharepoint.contoso.com"
        SuperUserAlias = "DEMO\svcSPSuperUser"
        SuperReaderAlias = "DEMO\svcSPReader"
        PsDscRunAsCredential = $InstallAccount
    }