Get Users Department Office 365 - InfoPath Dev
in

InfoPath Dev

Get Users Department Office 365

Last post 04-17-2017 07:29 AM by Hilary Stoupa. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 04-14-2017 09:37 AM

    Get Users Department Office 365

    We are using Office 365.  We would like a form to open up and show the current user and their department. I am able to pull the Current User by using the a data connection to the User Information List... xdUser:get-UserName().  Is there any way to get the Department of the current user?

    We used to use be able to use GetUserProfileByName but this will not work with the claims based authentication that Office 365 uses.  The fixes for this method are, I have to say, over my experience level.  Is there no semi easy way to return a users department when opening up an InfoPath form?  

     

  • 04-17-2017 07:29 AM In reply to

    Re: Get Users Department Office 365

    I think the User Profile service does work in Office 365. All you have to do is not run the query on form open, and in a form load rule, set the query field to the username function and execute the query.....
    Hilary Stoupa

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.