Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.
SalBoolean IsTaskAvailable( SalString sMethodName )
The IsTaskAvailable method tells if a Task is available to the user.
Name | Description |
---|---|
SalString sMethodName | The method name of the Task. |
The return value is TRUE if the Task is available, FALSE otherwise.
Set sMethodName = 'DATABASE_SYS.EXECUTE_ANALYZE_SCHEMA__' Return Security.IsTaskAvailable( sMethodName )case Const.NAVIGATOR_TypeTask: return Var.Security.IsTaskAvailable(Int.PalStrSplitRight(URL.GetProgId(), "."));