Function : User

SECKFMUserInfo - Get current Username and/or License ID.
----------------------------------------------------------------------------------------------------------

#include <kfm.h>

STATUS LNPUBLIC SECKFMUserInfo(
WORD Function,
char far *lpName,
LICENSEID far *lpLicense);

Description :

This function allows access to both the Username and the LICENSEID structure associated with the workstation's or server's ID where this function is executed.

Parameters :

Sample Usage :

/* Get the User Name associated w/  current USER.ID */

if (error_status = SECKFMUserInfo(KFM_ui_GetUserInfo, user_name,
                                    user_license_ptr))
  goto Exit;


See Also :

SECKFMGetUserName
----------------------------------------------------------------------------------------------------------