[Mono-devel-list] User account information through Mono

Sanjay Gupta GSanjay at novell.com
Thu Aug 26 05:29:46 EDT 2004


Hemanth,
In mono cvs tree, under support directory there is a file called
macros.c which makes call to function getpwuid() for retrieving 
user name for corresponding uid passed. You can submit a patch
which provides your functionality (also a patch for wrapper function
in Mono.Posix namespace) or else you can request for the functioanlity
to be added.

Thanx,
Sanjay

>>> "Hemanth Yamijala" <yhemanth at novell.com> 8/26/2004 11:58:02 AM >>>
Hi,

Are there any Mono C# APIs that provide a similar behavior 
to the getpw* family of functions on Linux / Posix - These 
parse information in the /etc/passwd file and return it in the 
form of some structures.

Didn't seem to find any such in the Mono.Posix branch or the
in general the Mono libraries link in the documentation.

Thanks
Hemanth
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com 
http://lists.ximian.com/mailman/listinfo/mono-devel-list



More information about the Mono-devel-list mailing list