formerpigeek

Authentication of client's aplications in Windows Domain

Discussion created by formerpigeek on Sep 29, 2010
Latest reply on Sep 29, 2010 by Ahmad Fattahi

I need to get the current pi user name in ActiveView hosted script.

 

If the application has passed an authentication using mapping of domain user to PI user then Server.CurrentUser property is set to string like "piusers | PI_test | PIWorld". If used mapping of domain user to PI Identity then the Server.CurrentUser property is set to string like "PITesters | PIWorld". If mapping by Windows authentication is not has been used, then the Server.CurrentUser property is contains username only.
In that examples: "PI_test" is PI username, "PITesters" is the custom PI Identity.

 

What are rules of the Server.CurrentUser property filling?

 

server vertion: 3.4.380.36

Outcomes