BenSelect Documentation
IsFeatureLicensed Method
See Also  Example Send Feedback
Selerix.BenSelect.View Namespace > CaseView Class : IsFeatureLicensed Method
feature
BenSelect Feature as string or int
Checks to see if the provided feature is licensed for current case

Syntax

JScript 
public function IsFeatureLicensed( 
   feature : BenSelectFeatures
) : boolean;

Parameters

feature
BenSelect Feature as string or int

Return Value

True/False

Example

JScriptCopy Code
// Check to see if feature is available
if (Event.Case.IsFeatureLicensed("PayHistoryTab"))
    Event.Value = "Pay History tab licensed";
else
    Event.Value = "Pay History tab not licensed";

Remarks

This method is going to work only if the correct feature param is provided

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2024 All Rights Reserved.