New answers tagged user-profile
0
I would start by checking the "Show updates to the property in newsfeed" attribute on the property in question. That may be all that is needed to get it into the change log. It may also be how are you querying for changes. I wrote an article about this with Gary a while back: http://sharepointpromag.com/sharepoint/monitor-sharepoint-user-profile-changes
...
1
To answer your first question -> When you grant a specific user permissions to a site, they are added automatically to the hidden User Information list.
As far as an Active Directory group -> The group gets added to the hidden User Information list, but the user does not get added until they access the site. (As an example, I granted an AD group ...
0
We fixed the issue by using below code
var userpicUrl = '/_layouts/15/userphoto.aspx?accountname=' + userProfileProperties.get_accountName() + '&size=M&url=' + userProfileProperties.get_pictureUrl();
$('.profile-image img').attr('src', userpicUrl );
1
Install at least the June 2011 CU (I'd recommend either Feb 2012 or Dec 2012 CUs). This is an issue with SP1.
0
u["MyCustomProperty"].Value.ToString();
Or I have misunderstood your question. :)
2
When you add user with permission in some list or library, SharePoint adds the user automatically even if user haven't visit the site, but if you add Active Directory group or role, SharePoint adds the group or role automatically, and when user visits the site then SharePoint adds it.
0
If your User Profile Service Application is not functioning, then you will need to resolve that issue before you will be able to update the permissions for the social features. The error you displayed does not really give us any info to do that.
If you are not currently using the user profiles, and do not have any required tagging/social data, you could ...
0
Code seems to be ok. But I suggest you put alert after each line and check the code again
you will not get alert if any line is throwing error.
Best way to debug on client side.
0
I don't know if this is the answer... but I found a different API endpoint that gave me enough information. I am still not sure if this is the best way to go, so any direction would be really helpful!
I used https://mysharepointsite.com/_api/Web/CurrentUser
1
There doesn't seem to be anything wrong with your code from the surface with a read through.
So it could be that you need to add your site to the safe zones of your browser. Have you checked this in other browsers?
If this is the case for IE go to Tools > Internet Options > Security > Local Intranet > Sites > Advanced > Then add your site here.
If this ...
1
OR...you could NOT use PORT numbers for your MySite web application and either create a unique URL like http://mysite or http://my (or whatever works for your organization and culture). Then set trusted sites.
OR, If the users are non-domain users (the new domain will trip an auth prompt when you switch hosts) you could create the MySite host under a ...
0
There is no support for this out of the box. You would have to either use PowerShell or create a custom code solution.
1
You need to configure ADFS with SharePoint. Essentially its a type of Claims Authentication with a conceptual walkthrough mentioned here
This is an excerpt from MSDN that explicitly mentions the flow of a single user from one web app to another in SharePoint
Visiting Two SharePoint Web Applications
In this walkthrough, John visits the a-Portal ...
0
http://msdn.microsoft.com/en-us/library/hh446525.aspx
This gives you a pretty good overview of what you need to do. In a nutshell:
1) Set up SharePoint on Claims Authentication, each web application authenticating to Active Directory (or a custom provider if you'd rather)
2) Configure the Security Token Service so everyone is on the same page
Not easy ...
0
Although SPFieldUser does inherit from SPFieldLookup and it really is a lookup field to the hidden "Users" list I don't think there is any way to display those additional fields via the UI.
The workflow idea will work as long as you make sure to trigger the workflow when an item is added and when an item is changed.
Another option would be to create a ...
2
It was working fine until I changed the default zone's authentication method to allow FBA in addition to Win Auth (claims).
Instead of changing the default zone, I think you should have extended the web application. If you can't switch things back to how they where, I would consider to restore the web application:
Considerations when restoring a Web ...
0
I don't know, but maybe Powershell could help you. Have a look at this post: http://www.c-sharpcorner.com/uploadfile/anavijai/modify-user-profile-properties-in-sharepoint-2010-using-powershell/
He stores the changes in a xml file and pushes everything up with Powershell:
function ModifyUserProfileProperties()
{
$site = Get-SPSite ...
1
you need to make sure that you have setup your database correctly:
make sure that you put your SQL database connection string in the web.config!
In the web.config, you’ll see sections for the connection string and the providers. The and sections
lastly
Membership.CreateUser
reading up on the above, it indicates that it stores the values in App_Data ...
1
I'm thinking you are running into an issue when peeking into all of those PrincipalSource.All sources. Perhaps a permissions issue?
Are you really able to get into a RoleProvider, MembershipProvider, Active Directory and the UIL between the client and the 2013 Provider Host? ResolvePrincipal(...) stops looking when it finds a single user. The first enum in ...
1
OMG. Thanks to the Managed Metadata Service, that will store behind the scene the profile property, I cannot differentiate values different only by the case.
Then I can simply reproduce the problem with a simpler code:
string b64 =
"AAAaaa";
string[] b64Arr = Split(b64, 3).ToArray();
This will fail, because AAA and aaa are the ...
Top 50 recent answers are included
