SP.UserProfiles.UserProfile.urlToCreatePersonalSite property (sp.userprofiles)
Gets the URL used to create the user's personal site.
Applies to: apps for SharePoint | Office 365 | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.UserProfiles.UserProfile.get_urlToCreatePersonalSite()
Return value
String
The URL used to create the user's personal site.