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

 Syntax:
 lpszObjectName = ObjNmeGet( dwObjectID )

 Parameters:
 dwObjectID The object ID number.

 Returns:
 A character string of length 47.

 Description:
 ObjNmeGet() 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 = ObjNmeGet( dwCurrID )
    if ( !empty(lpszCurrName) )
       ? "User ", lpszCurrName, " has object ID ", dwCurrID
    endif
 endif

See Also: UsrNameGet() GrpNmeGet() QueNmeGet() ObjIDGet() ObjTypGet() ObjGetFlg() FSObjLst() ObjSecGet()

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