StyleGuide apps: Session.UserId

StyleGuide apps: Session.UserId

  
Hi,

Can anyone tell me where should I get the id of the current user in session from in a Style Guide app?

Is it from EnterpriseManager\Login_GetUserMasterId action or should I use the Session.UserId variable.

It makes sense to use the first, since we're dealing with an Enterprise Manager integrated applications, however Service Studio does not complain when we assign the LastModified_By (UserMasterId) to Session.UserId.
Cheers,
Mário
Hi Mário,

You are right, you should use the EnterpriseManager\Login_GetUserMasterId action.
In the next version of Service Studio using Session.UserId will issue a validation warning.

Cheers,
Tiago Simões