setUserNameSSO()
Sets the name of a WinCC OA user for SSO.
Synopsis
bool setUserNameSSO( string username);
Parameters
Parameter | Description |
---|---|
username | WinCC OA User name |
Return value
TRUE if the name was successfully set. In case of errors FALSE.
Description
Sets the name of the WinCC OA user if the user is known in WinCC OA and the parameter username equals to the current Windows user. If the user is not recognized in WinCC OA the function returns FALSE.
Example
Sets the name of the WinCC OA user to "jdoe" if the current Windows user is "jdoe".
main()
{
setUserNameSSO("jdoe");
}
Assignment
User administration
Availability
CTRL