Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Method call syntax:

Code Block
function  IsAvailableObject(compname: String, objtype: String,  id: String,  param : String) : String

The method returns 0 if the current user has not been assigned access rights of type param for the object; it returns 1 if these rights have been assigned.

...

Code Block
var i = 0;

for(i = 0; i <= 5; i++)

{

     var result =

    IsAvailableObject('S-UYUTOVA','CAM','1', i);

    DebugLogString("right "+i+" = "+result);

}