The following code samples demonstrate how to reference imsapi classes:
Sample 1:
function handleValidation(BlthContext, errorMessage) { var imsapi = Packages.com.netegrity.llsdk6.imsapi var expr = new imsapi.search.SearchExpression("uid", imsapi.type.OperatorType.EQUALS,"bhanu") return true }
Sample 2:
function handleValidation(BlthContext, errorMessage) { var searchPackage = Packages.com.netegrity.llsdk6.imsapi.search var typePackage = Packages.com.netegrity.llsdk6.imsapi.type var expr = new searchPackage.SearchExpression("uid", typePackage.OperatorType.EQUALS, "bhanu") return true }
Sample 3:
function handleValidation(BlthContext, errorMessage) { var expr = new Packages.com.netegrity.llsdk6.imsapi.search.SearchExpression("uid", Packages.com.netegrity.llsdk6.imsapi.type.OperatorType.EQUALS, "bhanu") return true }
Copyright © 2013 CA.
All rights reserved.
|
|