I have a use case where I need to have an authorized person (supervisor) OK a step in a QC process (failing or reworking a part an operator has entered data for). What I would like to do is have a popup display (login style view) where the supervisor could enter their credentials (username & password) and then have a script authenticate the supervisor’s creds against the Active Directory User Source.
I see a number of functions that can check if a user has a certain role or security level, but unfortunately everything I have found either queries for the current logged in user or there is no password parameter passed to the function to actually authenticate.
Is there a way to provide for a security popup that takes username and password, then have that information passed to the user source to authenticate the credentials, and only return an “authenticated” status? I could get the rest of what I need as long as I know the entered credentials are good for the supervisor.
Thanks!
BTW, I don’t want to logout the logged in operator as that would require the part’s data to be re-entered before the supervisor could fail the part. Then it would require the operator to log back in to resume processing parts.
Thanks again!