cns_setViewPermission
Sets the permission for the given view.
Synopsis
bool cns_setViewPermission(string sViewName, int iId, bit32
                    b32Perm);
Parameters
| Parameter | Description | 
|---|---|
| sViewName | ID path of the view | 
| iId | User ID. The permission bits are set for this user. | 
| b32Perm | 
Return value
Returns TRUE if successful, otherwise FALSE.
Errors
-
Description
This function sets the permission bits for the given view.
main()
{
  bit32 myPerm = "00000000000000000000000011111111";
  cns_setViewPermission("System1.myView", 0, myPerm);
}
        Availability
UI, CTRL