apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <cliffwool...@yahoo.com>
Subject Re: proposal: apr_get_username()
Date Thu, 26 Jul 2001 20:56:24 GMT
On 26 Jul 2001, Ben Collins-Sussman wrote:

> I need to get the char *username of the person running the current
> process.  I looked in apr_user.h, and see routines for converting
> back-and-forth between apr_uid_t and char *username -- but no routines
> for fetching either one!
> If it's okay with people, I'd like to add apr_get_username().  I can
> implement the Unix part by calling getuid().  But somebody else would
> need to write the win32 equivalent.
> Thoughts?

+1... Luke has asked for this as well.  I have no idea how it would work
on Win32, but there's got to be some way or another to do it...


   Cliff Woolley
   Charlottesville, VA

View raw message