osdUserGet

osdUserGet

osd

1998 12-05

NAME

osdUserGet - get the current user name

SYNOPSIS

long osdUserGet(char *username, long namelen)

osdUserGet() returns the current user name in the buffer specified by username. The length of the provided buffer must be specified in namelen. Where the under-lying operating system supports such concepts, osdUserGet() returns the name of the effective user, not the real user. Return TRUE on success and FALSE on failure.

ARGUMENTS


username the returned user name buffer
namelen the length of the buffer username