Get userid by username

Forum for users and developers of Bullhorn's Webservices API suite

Moderators: StaffingSupport, s.emmons, BullhornSupport

Post Reply
synety
User
Posts: 1
Joined: Fri Dec 21, 2012 10:37 am

Get userid by username

Post by synety » Fri Dec 21, 2012 10:48 am

We have a bullhorn user name and need to find out the userID property so that we can then perform further actions on this user. How do i retrieve the userID using the username?

s.emmons
User
Posts: 333
Joined: Wed Dec 31, 1969 8:00 pm

Re: Get userid by username

Post by s.emmons » Thu Dec 27, 2012 5:13 pm

Hi synety,

You can do this by using the query operation. In the where clause, you can specify the username and a successful result will return the ID number for the CorporateUser. For example:

Code: Select all

<entityName>CorporateUser</entityName>
            
<maxResults>20</maxResults>

<where>username='**************'</where>
Sam Emmons
Enterprise Team Lead
BULLHORN
US Support 617-478-9126

Post Reply