/ Forums / Advansys Formativ / Creating Solutions with Formativ / Check if Account is proxied or not

  • Creator
    Topic
  • #3987
    rfaude
    Participant

      Hi,

      i create a applet which should determine, if the mailbox which i view is proxied or not.

      my code:


      Sub Main(Client, GWEvent)

      msgbox (GroupWise.Account.Proxied)

      End Sub

      I want to do the following:

      In my mailbox i can create a appointment, but not in a proxied mailbox.

      All the time i received a FALSE from the applet.

      Using GW-Client 6.5.1 with Formativ 1.6

      Thanks

      Ralf

    • Author
      Replies
    • #6789
      Support 1a
      Participant

        Hi Ralf,

        Try:

        bProxied = Client.ClientState.CurrentAccount.Proxied

        where ‘Client’ is the clientstate object passed to every applet via Sub Main(Client, GWEvent).

        Advansys Support

        #6787
        rfaude
        Participant

          Great!

          Thanks.

          Best Regards

          Ralf

          #6786
          rfaude
          Participant

            Hi again,

            i read in the programmers guide (applet structure) that i can find more information about “GroupWise C3PO ClientState Object as documented in the GroupWise C3PO documentation”.

            i do a search on the web and find on http://developer.novell.com/ndk/doc/gwc3po/gwc3penu/data/h6lsff0g.html
            information about clientstate. But where can i found the information for Client.ClientState.CurrentAccount.Proxied? I only find Client.ClientState.CurrentAccount.

            Thanks for help.

            Ralf

            #6788
            Support 1a
            Participant

              Hi Ralf,

              Client.ClientState.CurrentAccount returns an instance of an Object API Account object. This is the object that exposes the proxied property. The Novell documentation doesn’t really make this clear.

              Regards,

              Advansys Support

            Viewing 4 replies - 1 through 4 (of 4 total)
            • You must be logged in to reply to this topic.