ARSperl Programmer's Manual - ars_SetVUI

## `ars_SetVUI(ctrl, schema, vuiId, vuiHash)`

This function modifies an existing VUI. You must first populate the `vuiHash` before calling this routine.

`schema` is the name of the schema containing the VUI.

`vuiId` is the numeric VUI id.

`vuiHash` is a partially assigned VUI Attributes hash.

On success
  Returns 1
On failure
  Returns 0

Example:

> This example changes the owner of the view "TEST:View".

          ($v = ars_GetVUI($c,"Schema",$vuiId)) ||
    	    die $ars_errstr;
          ars_SetVUI( $c, "Schema", $vuiId, {owner => "admin2"} ) || die $ars_errstr;

This function was introduced in version 1.90 of ARSperl

Back to Table of Contents