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

 Syntax:
 lpszGroupName = GrpNameGet( dwGroupID )

 Parameters:
 dwGroupID The bindery ID number of the group.

 Returns:
 A character string of length 47.

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

 Description:
 GrpNameGet() returns the user group name of the specified bindery ID
 number dwGroupID.

 Returns an empty string if an error occurs.

 Example:
 // To display the user group name of group EVERYONE:
 dwCurrGrpID = GrpIDGet( "EVERYONE" )
 if ( dwCurrGrpID != NOVERRLONG )
    lpszCurrGrpNme = GrpNameGet( dwCurrGrpID )
    if ( !empty ( lpszCurrGrpNme ) )
       ? "Group", lpszCurrGrpNme, "has object ID", dwCurrGrpID
    endif
 endif

See Also: GrpIDGet() FSObjectList() QueOperatorList() QueUserList() GrpNameChange() GrpUserList() ObjNameGet() GrpIDGet() ObjIDGet()

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