> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Curtis Zarger
> Sent: dinsdag 24 mei 2005 16:40
> To: nant-users@lists.sourceforge.net
> Cc: [EMAIL PROTECTED]
> Subject: [Nant-users] Reading users logon
> 
> I would lke to be able to read the logon id of the
> user running a build.  I have not found a NAnt utility
> to do this.  Is there one?  Or has anyone written a
> custom task to do this?

environment::get-user-name()

eg.

<echo message="Current user = ${environment::get-user-name()}" />

Hope this helps,

Gert



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to