User Context object

The User Context object defines the context in which the SAAPI application is running. It specifies the site it is logged into and the member under which it is running.

By using the eRoom user context object and calling ::ImpersonateUser() method, you can temporarily establish a user context as another eRoom user.  

Note: The eRoom user context is stored on the execution thread. There may be cases where this context is cached on storage objects that are retrieved while the user context is active. For this reason, we recommend that you get interfaces after user impersonation to ensure predictable behavior. For example, in a custom command, call ::ImpersonateUser() and then get interfaces from the IERUUserContext object.

 

Co-Createable Object

progid

ERUUserContext

eRoom.UserContext

Home

Implements

IERUUserContext