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> objnameget()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 ObjNameGet()
------------------------------------------------------------------------------
 Purpose:
 Get the name of an object.

 Syntax:
 lpszObjectName = ObjNameGet( dwObjectID )

 Parameters:
 dwObjectID The object ID number.

 Returns:
 A character string of length 47.

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

 Description:
 ObjNameGet() returns the object name of a specified bindery ID number
 dwObjectID. Returns an empty string if an error occurs.

 Example:
 // To display the object name of user JANE:
 dwCurrID = ObjIDGet( "JANE", OT_USER )
 if ( NWErrorGet() = 0 )
    lpszCurrName = ObjNameGet( dwCurrID )
    if ( !empty(lpszCurrName) )
       ? "User ", lpszCurrName, " has object ID ", dwCurrID
    endif
 endif

See Also: UsrNameGet() GrpNameGet() QueNameGet() ObjIDGet() ObjTypeGet() ObjFlagGet() FSObjectList() ObjSecurityGet()

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