We have moved!

You are currently looking at documentation for Umbraco 8 and older versions.
Go to docs.umbraco.com for documentation for Umbraco 9 and newer versions.

    Changes to UmbracoHelper in 7.3.0


    Previously you had to add a child Id to the IsProtected method on the UmbracoHelper.

    // Old example (pre 7.3)
    @foreach (var child in CurrentPage.Children) {
        @if(Umbraco.IsProtected(child.id, child.Path)){
            <blink>Members only</blink>

    In the newer version the child id parameter is removed, only the Path parameter is necessary.