Querying for the Computer ID associated with a given User Name

Hello there,

I am relatively new to BigFix and am trying to automate the software installation process using a given user name. I am under the impression that actioning an installation can only be done by targeting a specific computer id. That being said, my approach has been to use the information given to me (a specific user name) to return that user’s associated computer id. Then, use this id to action the install.

Like I said, I’m quite new to working with the BigFix REST API. This might not be the best approach. But I was hoping to receive some guidance on this. If there’s a better way, I’m more than open to suggestions. If not, I’d really appreciate some assistance on the proper endpoint to hit for returning a computer id using a given user name.

Thanks in advance!

You can try to use this session relevance via the REST API depending on the name of your property. Replace “Something” with your username and “Primary User” with the name of the property you have with user names.

ids of bes computers whose (value of results (bes property “Primary User", it) = "Something")