Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Novlib 3.30 Online Reference - <b> fsobjectadd()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FSObjectAdd()
------------------------------------------------------------------------------
 Purpose:
 Add a new object to the file server.

 Syntax:
 bResult = FSObjectAdd ( lpszObjectName,
                          wObjectType,
                          iObjFlags,
                          iObjSecurity  )

 Parameters:
 lpszObjectName The object name.
 wObjectType    The object type.
 iObjFlags      The object flags.
 iObjSecurity   The object security level.

 Returns:
 A boolean value (TRUE or FALSE).

 The CA-Clipper name for this function is:
 FSObjAdd()

 Description:
 FSObjectAdd() creates a new bindery object with the specified name
 lpszObjectName and type wObjectType. iObjFlags is the object flags,
 which can be either static or dynamic. iObjSecurity is the security
 level of the object.

 For information on the valid types, flags and security levels, please see
 the reference in Chapter 3, Bindery Functions.

 Returns TRUE if successful, or FALSE if an error occurs.

 Example:
 // To add a new static bindery object called APP_USERS of type
 // 8000, with a security level of supervisor write, logged read:
 if ( FSObjectAdd( "APP_USERS", 8000, 0, 49 ) )
    ? "Object APP_USERS has been created"
 endif

 Notes:
 This function requires Supervisor equivalence, and should be used
 with care. For example, if you try to use this function to create a new
 user, remember that you will need to create the relevant associated
 properties.

See Also: FSObjectDelete() ObjNameChange() FSObjectList() ObjIDGet() ObjTypeGet() ObjNameGet()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson