Update cookies preferences
Promotic

FindUserIdLocal - method of the Pm object

Description:
Returns the identifier of the local user that corresponds to the entered login parameters.
Syntax:
String FindUserIdLocal(String sName, String sPassword)
Parameters:
sName(String) User name
sPassword(String) Login password of the user
Note:
This method is not functional in Web panels.
Example:
Test whether the local user (entered by the login name and password) is the member of the "OPERATOR" group
JavaScriptVBScriptSelect and copy to clipboard

if (Pm.TestUserInGroup(1, "OPERATOR", Pm.FindUserIdLocal("JAN NOVY", "JN")))
{
// ...
}
PROMOTIC 9.0.31 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
Navigation:
 
- Pm
 
- Abs
- Cos
- E
- Exp
- FindUserIdLocal
 
 
- LN2
- PI
- Pow
- Sin
- Tan
© MICROSYS, spol. s r.o.