This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Returns a value indicating if the first zone inherits directly or indirectly from the second one.

Namespace: Smartsite.Runtime.Modules
Assembly:  Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)

Syntax

C#Copy imageCopy Code
[(Name = "{0}.securityzone.inheritsfrom")]
public static <bool> IsSecurityZoneInherited(
	 context,
	string zone1,
	string zone2
)
Visual Basic (Declaration)Copy imageCopy Code
<(Name := "{0}.securityzone.inheritsfrom")> _
Public Shared Function IsSecurityZoneInherited ( _
	context As , _
	zone1 As , _
	zone2 As  _
) As (Of )

Parameters

context
IRenderContext
The context.
zone1
String
The first zone.
zone2
String
The second zone.

Return Value

True if the first zone inherits directly or indirectly from the second one.

See Also

Advanced