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> setpropertyiddelete()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 SetPropertyIDDelete()
------------------------------------------------------------------------------
 Purpose:
 Delete an object ID from a set property.

 Syntax:
 bResult = SetPropertyIDDelete( lpszObjectName1,
           wObjectType1, lpszObjectName2,
           wObjectType2, lpszProperty )

 Parameters:
 lpszObjectName1 The name of the object from whose set property the
                 object lpszObjectName2 is to be deleted.
 wObjectType1    The object type of lpszObjectName1.
 lpszObjectName2 The name of the object to delete from the set property
                 of lpszObjectName1.
 wObjectType2    The type of the object lpszObjectName2.
 lpszProperty    The set property name.

 Returns:
 A boolean value (TRUE or FALSE).

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

 Description:
 SetPropertyIDDelete() deletes an object ID specified by its name
 lpszObjectName2 and its type wObjectType2 from a set property of the
 object of name lpszObjectName1 and type wObjectType1, where lpszProperty
 is the name of the property, which must be of type SET, for example
 SECURITY_EQUALS.

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

 Example:
 // To delete the Supervisor ID from the SECURITY_EQUALS property value of
 // user JOHN, which revokes his Supervisor rights:
 if ( SetPropertyIDDelete("JOHN" ,OT_USER ,"Supervisor" , OT_USER,
          "SECURITY_EQUALS" ) )
    ? "User JOHN is no longer Supervisor equivalent"
 endif

 Notes:
 This call may require Supervisor equivalence depending on the
 security of the object and property from which the object ID is to be
 deleted.

 For more information on objects and properties, and for a list of valid
 object and property types, see the description in Chapter 3, Bindery
 Functions.

See Also: SetPropertyIDAdd() SetPropertyIDTest() SetPropertyValueGet() / SetPropertyValueSet() ItmPropertyValueGet() / ItmPropertyValueSet()

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