Tag Info

Hot answers tagged

3

The ObjectGUID is a binary string ( or octet string ), so what you are probably seeing is some random nonsense characters when you attempt display the value. The ObjectGUID actually follows a well-established standard - it's a UUID version 4. With this information, you should be able to decode the binary string into a readable string representation. Take ...


1

The error: Cannot read property 'get_current' of undefined usually occurs since sp.js library is not yet loaded when the ClientContext is initialized. Use SP.SOD.executeFunc function to ensure sp.js is loaded. Example SP.SOD.executeFunc('sp.js', 'SP.ClientContext', function () { getGroupsFromCurrentUser(function(groups){ ...


1

You can add a Script Editor Web Part to the home Page and then use JavaScript/jQuery/REST API to get required information. Use HTML/CSS to present it in nice and friendly way. http://www.vrdmn.com/2013/02/sharepoint-2013-working-with-user.html (function($){ $(document).ready(function(){ // Ensure that the SP.UserProfiles.js file is loaded ...


1

You can set it for example via PowerShell (sorry, I don't know which language do you really need): [void][Reflection.Assembly]::LoadWithPartialName("Microsoft.Office.Server") Add-PSSnapin Microsoft.SharePoint.PowerShell $site = Get-SPSite http://YourSiteCollection $serviceContext = Get-SPServiceContext $site $upm = New-Object ...



Only top voted, non community-wiki answers of a minimum length are eligible