How to get active profile of user?

Status
Not open for further replies.

HExSM

Forum User
Joined
Feb 18, 2019
Messages
85
Reaction score
11
Is there a way to get the active profile of an user, so I can only change the profile via CallTriggerCmd.exe --set-active-profile=VALUE if the user is "available"?

What I do is, set the status to "away" if the computer gets locked. But I don't want to override other stati like "out of office". So I need a solution to check if the current status is "available" before I change it to "away".
 
Status
Not open for further replies.

Forum statistics

Threads
112,328
Messages
591,905
Members
165,483
Latest member
AshleyStokes