Click or drag to resize
DataExtensionsToAuthorizationResultEnum Method
Convert the boolean value to a AuthorizationResultEnum, outputs Allowed or Denied based on the bool value.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax
C#
public static AuthorizationResultEnum ToAuthorizationResultEnum(
	this bool result
)

Parameters

result
Type: SystemBoolean
Result

Return Value

Type: AuthorizationResultEnum

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Boolean. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also