next up previous contents index
Next: Error Codes Up: Access Control Functions Previous: VA_VERIFYACCESS(name)

CA_CHANGEACCESS(name)

     

Change the curret user's access right (and name) to `name' in the client and in the DBS. If `name' is NULL, restore origin access as defined by login name. Notice that all saved changes will be saved under the new name and the corresponding `id'. Currently this function changes the string used in `SYSTEM:Owner'   and the id used in the database server for indicating the owner of the object. Return `SUCCESS' if the operation is allowed and work. Restore to initial settings by calling with a NULL argument.



Martin Sjolin
Thu Jun 15 20:41:59 MET DST 1995