Multiple choice technology packaged enterprise solutions

The SwitchUser function is used to change the user ID of the current user logged onto the PeopleSoft system.Which of the following is the proper syntax for the function?

  1. SwitchUser(Password, UserID, ExtAuthInfo,AuthToken)

  2. SwitchUser(UserID, Password, ExtAuthInfo,AuthToken)

  3. SwitchUser(UserID, Password, AuthToken , ExtAuthInfo)

  4. SwitchUser(Password, ExtAuthInfo,AuthToken,UserID)

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In PeopleCode, the SwitchUser function changes the user ID context of the active session. Its correct syntax requires the parameters in the precise sequence of UserID, Password, AuthToken, and finally ExtAuthInfo. This sequence matches the third option.