Can we have the ability to select a user's first and last name instead of gettng full name?
I need this for the form that I use in SharePoint which can get the data and fill it automatically but not via the app.
The app can only get the logged in user's full user name via User().FullName. Options like "First name", "Last name" etc. would be awesome to have.
Thanks
Solved! Go to Solution.
I think you can achieve this using the Office 365 Users connection.
Office365Users.MyProfile().GivenName
Office365Users.MyProfile().Surname
I think you can achieve this using the Office 365 Users connection.
Office365Users.MyProfile().GivenName
Office365Users.MyProfile().Surname
You're a champ and you know it!
Thanks heaps 🙂
Hi , I had a doubt regarding this. If i need to auto -pre populate users firstname and lastname once the user login to the page ; for example :
If(Form1.Mode = FormMode.New, Office365Users.UserProfile(User().Email).DisplayName,Parent.Default)
how can i give lastname as well to this ???????????
Hi , I had a doubt regarding this. If i need to auto -pre populate users firstname and lastname once the user login to the page ; for example :
If(Form1.Mode = FormMode.New, Office365Users.UserProfile(User().Email).DisplayName,Parent.Default)
how can i give lastname as well to this ???????????
User | Count |
---|---|
122 | |
87 | |
86 | |
75 | |
67 |
User | Count |
---|---|
214 | |
181 | |
137 | |
96 | |
83 |