Tag Info

Hot answers tagged

3

in this case msdn is you best friend. As i created it for the company that i work for i could answer this for you ;) mysite limmit for webapplication first you need to understand what is a mysite? a mysite is a site collection. The mysite when setup if done according to best practice should be hosted on its own web application. This web application ...


1

Its advisable to create a custom Page Layout based on your requirement. Then create a Welcome Page out of that. Once completed, you can create a PowerShell Script which goes and create this Page for existing My Sites. And also change the Welcome Page to the newly created page.


1

If the current user is part of the FARM ADMINISTRATORS group then the below code currentUser.get_loginName() will return Sharepoint\System. This is the expected behavior and you don't need to worry much. Try using a normal user account and you can see it returns the expected result. Alternatively you can also use currentUser.get_title()


1

You can add a Script Editor Webpart and use the rest api to get the user profile details. Below is a snippet which show you to get an instance of people manager using rest api $.ajax({ url: "http://<site url>/_api/sp.userprofiles.peoplemanager", type: "GET",headers: { "accept": "application/json;odata=verbose" }, success: successHandler, error: ...


1

You can get the login name from the user profile as illustrated below: foreach (UserProfile userProfile in profileManager) { string loginName = userProfile["AccountName"][0] as string; Console.WriteLine(loginName); }



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