/ Forums / Advansys Formativ / Creating Solutions with Formativ / Setting proxy access rights if proxied to another account / Reply To: Setting proxy access rights if proxied to another account

#7810
Support 3
Participant

Use the Client.clientstate.currentaccount to access the active GroupWise account. You can manually proxied to another account or use the proxy() method prior to access the currentaccount. GroupWise.account will gives you access to the root account.

See the example below:

  
  dim oGWAccount

  set oGWAccount = Client.clientstate.currentaccount
  msgbox "AccountRightsCollection: " & oGWAccount.AccountRights.Count

  set oGWAccount = nothing

Hope this helps.

Regards,
Advansys Support