How to programmatically reference the current logged in user in a view/saved search?

I want to set some default views for Rt At a Glance that use “Requestor
LIKE ME” logic. Any ideas?

Aaron Sallade’
Application Manager
PTSO of Washington
“Shared Technology for Community Health”
(206) 613-8938 Desk
(206) 521-8833 Main
(206) 613-5078 Fax
asallade@ptsowa.org

I’m close, I can use

Requestor.Id LIKE ‘CurrentUser

But the Requestor.Id is not the user ID of the requestor, it is
something else. I would like to be able to get the emailaddress of
CurrentUser

Aaron Sallade’
Application Manager
PTSO of Washington
“Shared Technology for Community Health”
(206) 613-8938 Desk
(206) 521-8833 Main
(206) 613-5078 Fax
asallade@ptsowa.org mailto:asallade@ptsowa.orgFrom: Aaron Sallade [mailto:asallade@PTSOWA.ORG]
Sent: Wednesday, April 30, 2008 10:47 AM
To: RT Users
Subject: [rt-users] How to programmatically reference the current logged
inuser in a view/saved search?

I want to set some default views for Rt At a Glance that use “Requestor
LIKE ME” logic. Any ideas?

Aaron Sallade’
Application Manager
PTSO of Washington
“Shared Technology for Community Health”
(206) 613-8938 Desk
(206) 521-8833 Main
(206) 613-5078 Fax
asallade@ptsowa.org

Requestor.Id = ‘CurrentUser

“LIKE” was matching id 22,122,222 etc and returning multiple users.

Now I need to access the current User’s organization :slight_smile:

Aaron Sallade’
Application Manager
PTSO of Washington
“Shared Technology for Community Health”
(206) 613-8938 Desk
(206) 521-8833 Main
(206) 613-5078 Fax
asallade@ptsowa.org mailto:asallade@ptsowa.orgFrom: Aaron Sallade
Sent: Wednesday, April 30, 2008 11:54 AM
To: Aaron Sallade; RT Users
Subject: RE: [rt-users] How to programmatically reference the current
logged inuser in a view/saved search?

I’m close, I can use

Requestor.Id LIKE ‘CurrentUser

But the Requestor.Id is not the user ID of the requestor, it is
something else. I would like to be able to get the emailaddress of
CurrentUser

Aaron Sallade’
Application Manager
PTSO of Washington
“Shared Technology for Community Health”
(206) 613-8938 Desk
(206) 521-8833 Main
(206) 613-5078 Fax
asallade@ptsowa.org mailto:asallade@ptsowa.org

From: Aaron Sallade [mailto:asallade@PTSOWA.ORG]
Sent: Wednesday, April 30, 2008 10:47 AM
To: RT Users
Subject: [rt-users] How to programmatically reference the current logged
inuser in a view/saved search?

I want to set some default views for Rt At a Glance that use “Requestor
LIKE ME” logic. Any ideas?

Aaron Sallade’
Application Manager
PTSO of Washington
“Shared Technology for Community Health”
(206) 613-8938 Desk
(206) 521-8833 Main
(206) 613-5078 Fax
asallade@ptsowa.org