System.Security.Util.XMLUtil.IsUnrestricted C# (CSharp) Method

IsUnrestricted() public static method

public static IsUnrestricted ( SecurityElement el ) : bool
el System.Security.SecurityElement
return bool
        IsUnrestricted (SecurityElement el)
        {
            String sUnrestricted = el.Attribute( "Unrestricted" );
            
            if (sUnrestricted == null)
                return false;

            return sUnrestricted.Equals( "true" ) || sUnrestricted.Equals( "TRUE" ) || sUnrestricted.Equals( "True" );
        }