odm_set_perms Subroutine

Purpose

Sets the default permissions for an ODM object class at creation time.

Library

Object Data Manager Library (libodm.a)

Syntax

#include <odmi.h>

int odm_set_perms ( NewPermissions)
int NewPermissions;

Description

The odm_set_perms subroutine defines the default permissions to assign to object classes at creation.

Parameters

Item Description
NewPermissions Specifies the new default permissions parameter as an integer.

Return Values

Upon successful completion, the current default permissions are returned. If the odm_set_perms subroutine is unsuccessful, a value of -1 is returned.