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> fsobjectdelete()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FSObjectDelete()
------------------------------------------------------------------------------
 Purpose:
 Delete an object from the file server.

 Syntax:
 bResult = FSObjectDelete(lpszObjectName, wObjectType)

 Parameters:
 lpszObjectName The object name.
 wObjectType    The object type.

 Returns:
 A boolean value (TRUE or FALSE).

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

 Description:
 FSObjectDelete() deletes the specified bindery object lpszObjectName of
 type wObjectType from the file server.

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

 Example:
 // To delete the object KATIE, a user:
 if ( FSObjectDelete( "KATIE", OT_USER ) )
    ? "Bindery object KATIE, of type user, has been deleted"
 endif

 Notes:
 FSObjectDelete() deletes an object and all its associated
 properties and requires Supervisor equivalence. What it DOES NOT do is
 check to see if the object is in a set property of another object and
 delete it from there. For example if you delete a user, it does not delete
 the user's object ID from the GROUP_MEMBERS property values of any groups
 of which the user may be a member.

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

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