Example: lrd_attr_set_from_handle

In the following example, the lrd_attr_set_from_handle function assigns the value "scott" to the USERNAME attribute during session 1.

lrd_attr_set_from_handle (Ses1, LRD_ATTR_ORACLE_USERNAME, "scott", -1, 0);