/ Forums / Advansys Formativ / Creating Solutions with Formativ / getting administrative Information without User access to wpdomain.db

  • Creator
    Topic
  • #4361
    atrapp
    Participant

      Hi,

      I’ve build an appelt that informs our Users, that the Mailbox will expieres in x days using the Admin Api.
      This will work fine, if the Users have rights to the wpdomain.db. For security reason, this could not be the way we use it. So, I’m looking for a way, making the connection to the Domain Database via a coded User Account in a flexlooked applet. Is there anybody, who can help me ?

      Thx alot
      André

    • Author
      Replies
    • #7934
      Support 3
      Participant

        I think you only need the read rights to the domain to access the expire date. What you mean by the “coded User Account”?

        Another option without access to the wpdomain, an admin applet which read the users mailbox expire date and create a xml file and post in a web. A user applet download and read the xml file and produce the information relate to the user.

        Regards,
        Advansys Support

        #7933
        atrapp
        Participant

          Thank you for the fast response ! With coded User i mean, i would be very happy, if there is a posibility to make the Connection with a User Account defined in the applet. So that our Users do not need rights to the WPDOMAIN.DB.
          Do you think there is a way ?

          Regards from Germany !
          André

          #7932
          Support 3
          Participant

            I think you may require the read rights to the domain and also the path to the domain database. See the Admin API for more information.

            The sample code below connect to the domain. You need to iterate through the Users collection and compare with the login user (i.e. GroupWise.account.owner.displayname)

              
               Set oAdminSystem = CreateObject("NovellGroupWareAdmin")
               oAdminSystem.Connect("p:gwdomain")
               set oDomain = oAdminSystem.ConnectedDomain
            
               msgbox oDimain.Name
            
               '< Iterate the users collection and display relevant user information...>
            
               set oDomain  = nothing
               set oAdminSystem = nothing
            

            Hope this helps.

            Regards,
            Advansys Support

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