/ Forums / Advansys Formativ / Creating Solutions with Formativ / programmatically activate an account / Reply To: programmatically activate an account

#7698
Support 3
Participant

You can use the GroupWise.Proxy() method to proxy to an account and back to the main account. The sample code below will proxy to an account and proxy back to the main account:

  
  if Client.clientstate.currentaccount.proxied then
    call GroupWise.Proxy("MainAccountUserID", prwCurrentWindow)
  else
    call GroupWise.Proxy("ProxyAccountUserID", prwCurrentWindow)
  end if

If we have misunderstood your question, please let us know.

Regards,
Advansys Support