Timeline for Get Current Login User Profile Property in SharePoint SPS-DistinguishedName
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 8, 2018 at 10:29 | comment | added | sp4ce | Didn't know the getMyProperties() function. Thanks for the insights and the clarification! | |
Nov 7, 2018 at 9:00 | comment | added | harshal gite | Also, you were using "getPropertiesFor()" which is a function you can use to get user profile properties of another user using their loginName. SharePoint has given the function to get current logged in users properties "getMyProperties()", so why not use that. | |
Nov 7, 2018 at 8:50 | comment | added | harshal gite | executeQueryAsync() has 2 function arguments - success and failure. Whatever you want to do with the data (successful data or error) returned after executing must be written in these 2 functions. What you did works sometimes in browsers but in actual code it wont. You mentioned you tried it line-by-line in browser. Did you try on IE? | |
Nov 7, 2018 at 8:47 | vote | accept | sp4ce | ||
Nov 7, 2018 at 8:47 | vote | accept | sp4ce | ||
Nov 7, 2018 at 8:47 | |||||
Nov 7, 2018 at 8:47 | comment | added | sp4ce | Thanks, worked like a charm! What was the source of my error? I would like to understand what was my flaw here. | |
Nov 6, 2018 at 10:29 | history | answered | harshal gite | CC BY-SA 4.0 |