[Anthill-pro] Getting users

linda.hayes at l-3com.com linda.hayes at l-3com.com
Tue Nov 13 07:24:33 CST 2007



I have a similar question IRT users, How or could I find out what users
are logged in or a history of a particular user.  i.e. when they were
last logged in or what was accomplished????

Thanks,
Linda


Today's Topics:

   1. Getting user who is logged in to anthill (Curley, Patrick)
   2. Re: Getting user who is logged in to anthill (Ryan Smith)
   3. Re: Getting user who is logged in to anthill (Ryan Smith)


----------------------------------------------------------------------

Message: 1
Date: Sat, 10 Nov 2007 15:14:47 -0600
From: "Curley, Patrick" <pcurley at ecmc.org>
Subject: [Anthill-pro] Getting user who is logged in to anthill
To: <anthill-pro at caladin.urbancode.com>
Message-ID:
	<87D11E835A87604FB5473F199A4EB1B0010920AE at exchange3.ecmc.lan>
Content-Type: text/plain; charset="us-ascii"

How do I the user who is logged in to anthill?  I want to pass this
value into my shell script.  



Thanks,

Pat Curley


-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.urbancode.com/pipermail/anthill-pro/attachments/20071110/ff
bd4924/attachment-0001.htm

------------------------------

Message: 2
Date: Sat, 10 Nov 2007 22:03:34 -0500
From: Ryan Smith <rws at urbancode.com>
Subject: Re: [Anthill-pro] Getting user who is logged in to anthill
To: "AnthillPro user and support list."
	<anthill-pro at lists.urbancode.com>
Cc: anthill-pro at caladin.urbancode.com
Message-ID: <47367106.9060302 at urbancode.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Patrick,

This depends on a few things. First, the user will only be available on
manual workflows, so anything that is scheduled or triggered will not
have a user. Once you kick off a manual request the build runs under a
system account. You can access the user that started it by looking at
the build request:

${bsh:BuildRequestLookup.getCurrent().getUser().getName()}


Ryan Smith

Curley, Patrick wrote:
> How do I the user who is logged in to anthill?  I want to pass this 
> value into my shell script. 
> 
> 
> 
> Thanks,
> 
> Pat Curley
> 
> 
>
------------------------------------------------------------------------
> 
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro

-- 
===========================================================
Ryan Smith.           		2044 Euclid Ave., Suite 600
Lead Developer                  Cleveland, Ohio 44115
Urbancode, Inc.
                                email:  rws at urbancode.com
web:     www.urbancode.com      phone:  216-858-9000
web:     www.anthillpro.com     fax:    216-858-9602
===========================================================


------------------------------

Message: 3
Date: Sat, 10 Nov 2007 22:03:34 -0500
From: Ryan Smith <rws at urbancode.com>
Subject: Re: [Anthill-pro] Getting user who is logged in to anthill
To: "AnthillPro user and support list."
	<anthill-pro at lists.urbancode.com>
Cc: anthill-pro at caladin.urbancode.com
Message-ID: <47367106.9060302 at urbancode.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Patrick,

This depends on a few things. First, the user will only be available on
manual workflows, so anything that is scheduled or triggered will not
have a user. Once you kick off a manual request the build runs under a
system account. You can access the user that started it by looking at
the build request:

${bsh:BuildRequestLookup.getCurrent().getUser().getName()}


Ryan Smith

Curley, Patrick wrote:
> How do I the user who is logged in to anthill?  I want to pass this 
> value into my shell script. 
> 
> 
> 
> Thanks,
> 
> Pat Curley
> 
> 
>
------------------------------------------------------------------------
> 
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro

-- 
===========================================================
Ryan Smith.           		2044 Euclid Ave., Suite 600
Lead Developer                  Cleveland, Ohio 44115
Urbancode, Inc.
                                email:  rws at urbancode.com
web:     www.urbancode.com      phone:  216-858-9000
web:     www.anthillpro.com     fax:    216-858-9602
===========================================================


------------------------------

_______________________________________________
Anthill-pro mailing list
Anthill-pro at lists.urbancode.com
http://lists.urbancode.com/mailman/listinfo/anthill-pro


End of Anthill-pro Digest, Vol 46, Issue 12
*******************************************


More information about the Anthill-pro mailing list