Switch user programmatically

Switch user programmatically

This question is not answered

Hello,

I have two profiles for the same use one is main profile and other is secondary profile.

I want to switch logged in user programmatically as per the pages.

Can anyone tell me how to switch users programmatically?

Thanks,

Nick

All Replies
  • Can you be more specific as to what you mean by “switch”?  If you are meaning switch user context (from one logged in user to another) the platform does not support doing this through the APIs
     
    Patrick Mason
    Development Lead- Extensibility
    o: 214.420.1329
    telligent.com
     
    From: nickjo [mailto:bounce-nickjo@communities.telligent.com]
    Sent: Tuesday, September 25, 2012 12:13 AM
    To: discussion_evolution@communities.telligent.com
    Subject: [Telligent Evolution Platform Discussion] Switch user programmatically
     

    Hello,

    I have two profiles for the same use one is main profile and other is secondary profile.

    I want to switch logged in user programmatically as per the pages.

    Can anyone tell me how to switch users programmatically?

    Thanks,

    Nick

  • Hello,

    I want to change the current logged in user with another user.

    Can we change logged in user with another user through custom plugin code?

    Thanks,

    Nick

  • Not via our APIs no.  It would all be internal code that is not upgrade safe or recommended
     
    Patrick Mason
    Development Lead- Extensibility
    o: 214.420.1329
    telligent.com
     
    From: nickjo [mailto:bounce-nickjo@communities.telligent.com]
    Sent: Tuesday, September 25, 2012 8:04 AM
    To: discussion_evolution@communities.telligent.com
    Subject: RE: [Telligent Evolution Platform Discussion] Switch user programmatically
     

    Hello,

    I want to change the current logged in user with another user.

    Can we change logged in user with another user through custom plugin code?

    Thanks,

    Nick