Sharepoint 2013 get ID of a user

Hi
I am looking to figure out a way to get the ID of a user, given their name, so that I can use it in a call to /_layouts/15/userdisp?ID=n where 'n' is the ID of the user to redirect the person who is viewing the page to another person's Profile page. 
I am using JavaScript. I will not know the url of the mysites site hence using this method rather than the one using the MySites method.  I am on a search results page not a person search results page.
I am using SharePoint 2013 SP1 April 2015 CU.
Thanks Nigel
Nigel Price NJPEnterprises

GetUserProfilePropertyFor method
Gets the specified user profile property for the specified user.
The GetUserProfilePropertiesFor method is not implemented in the REST API. To get all user profile properties, call the GetPropertiesFor method
and then get the user profile properties from the UserProfileProperties property of the returned PersonProperties object.
Endpoint
/getuserprofilepropertyfor(accountname=@v, propertyname='<property name>')?@v='<account
name>'
Parameters
accountname
Type: String
The account name of the user, encoded and passed as an alias in the query string, as shown in the request example. See Implementation
notes for other example formats.
propertyName
Type: String
The case-sensitive name of the property to get.
HTTP method
GET
Response
Type: String
The specified profile property for the specified user.
  Request example
JavaScript
$.ajax({
url: "http://<site url>/_api/sp.userprofiles.peoplemanager
/getuserprofilepropertyfor(accountame=@v, propertyname='PictureURL')
?@v='i%3A0%23.f%7Cmembership%7Cuser%domain.onmicrosoft.com'",
type: "GET",
headers: { "accept": "application/json;odata=verbose" },
success: successHandler,
error: errorHandler
});rreplace propertyname='PictureURL' with propertyname='AccountName')

Similar Messages

  • SharePoint 2013 get Term's "other label" to text column

    Hi,
    does anyone now how to do or has anyone done following with SharePoint 2013. What we would need to happen is when user selects value from managed metadata (the main label) then the terms synonym/other label would be stored to text field.
    So lets say our selected term is "foo" and its synonym would "bar". How can I get that to the text field automatically.
    Below Material Number woud be the managed term and Material Description(text column) would be the synonym.
    Compared to list lookup you can there select addional columns if you want. So I'm looking similar solution for managed metadata.
    I would like to maybe do this just by editing the list/library forms with designer/nintex forms. And I now that there is ways to get terms with JSOM, but I'm not that familiar with those:
    https://cann0nf0dder.wordpress.com/2013/04/09/accessing-taxonomy-term-store-with-jsom/
    http://www.vrdmn.com/2012/12/working-with-taxonomy-and-javascript-in.html
    Any help would be much appreciated.

    Hi Kalle,
    Based on your description, my understanding is that you want to get the label of the term selected in the Material Number column and display it in the Material Description field.
    I suppose that you set the Material Number column to allow single value only.
    Here is a code example for achieve this goal and the code need to be added to the New Item form:
    <script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
    <script src="/_layouts/15/SP.Taxonomy.js" type="text/javascript"></script>
    <script type="text/javascript">
    var dlabel='';
    $(document).ready(function () {
    $("div.ms-rtestate-write").blur(function(){
    var txt=$("input[id='Material_x0020_Number_$input']").val();
    var s="string";
    if(txt!="") s=txt;
    dlabel=s.substring(0,s.indexOf("|"));
    var guid=s.substring(s.indexOf("|")+1);
    getLabel(guid);
    function getLabel(termguid){
    var clientContext = SP.ClientContext.get_current();
    var taxSession = SP.Taxonomy.TaxonomySession.getTaxonomySession(clientContext );
    var termStores = taxSession.get_termStores();
    var termStore = termStores.getByName("Managed Metadata Service");//change the term store name here
    var termSet = termStore.getTermSet("b6756f2d-4c5e-418f-8378-60e401d466f5");//change the term set guid here
    var term=termSet.getTerm(termguid);
    this.labelColl = term.getAllLabels(1033);
    clientContext.load(labelColl);
    clientContext.executeQueryAsync(Function.createDelegate(this, this.onQuerySucceeded), Function.createDelegate(this, this.onQueryFailed));
    function onQuerySucceeded(sender, args) {
    var label = '';
    var sum='';
    var labelEnumerator = labelColl.getEnumerator();
    while (labelEnumerator.moveNext()) {
    label = labelEnumerator.get_current();
    var value=label.get_value();
    if(value!=this.dlabel){
    sum+=value;
    sum+=" ";
    $("input[Title='Material Description']").val(sum);
    function onQueryFailed(sender, args) {
    alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
    </script>
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected].
    Victoria Xia
    TechNet Community Support

  • SharePoint 2013 allows downloaded even for users with "view only" permissions

    I have a new on premises SharePoint 2013 server and assigned a single user "view only" rights to a document library. In the "permission levels" window, this permission is described as "Can view pages, list items,
    and documents. Document types with server-side file handlers can be viewed in the browser but not downloaded."
    Once I gave the user that permission, I noticed he was able to view documents in the library but the "but not downloaded" part does not seem to be working. The user can still download documents to his local desktop and SharePoint does not prevent
    it. The "download a copy" option appears and the user can use it.
    My goal is to make all documents in this library such that users can only view them in the browser and not download a local copy. How I do that?
    Thanks for your help.

    Not entirely positive :-) 
    However, you have no server-side handlers in place today without WAC installed, so that portion of the View Only permission wouldn't be applicable.
    Note that WAC must be installed on its own server and if your SharePoint server is extranet or public facing, it needs to have a valid, public SSL certificate. Also, WAC should always be run over SSL regardless if it is public facing or not as the token
    sent between the SharePoint server and WAC is the same as having a username and password for the user making the request.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • PowerPivot in SharePoint 2013 : how match report with user connected

    Hi all,
    I would share an excel in my SharePoint 2013 (Entreprise) . This excel file contains a worksheet which contains data retrieved from a cube. So is it possible to filter this report directly in SharePoint ? How can I match my username indicator with the user
    connected (ID) ?
    Thanks in advance for your help
    Mutandis mutatis

    The way to set this up is to either use and configure Kerberos or EffectiveUserName within Excel Calculation Services. Both methods will pass the user executing the report to the SSAS instance.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Form Based Authentication in SharePoint 2013: Getting The remote server returned an error: (500) Internal Server Error

    Hi
     I configured forms based authentication mode in Sharepoint 2013 site. When i tried to log in with windows authentication prompt it throws the following error
    The remote server returned an error: (500) Internal Server Error
    [WebException: The remote server returned an error: (500) Internal Server Error.] System.Net.HttpWebRequest.GetResponse() +8548300 System.ServiceModel.Channels.HttpChannelRequest.WaitForReply(TimeSpan timeout) +111 [ProtocolException:
    The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+msbin1). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first
    1024 bytes of the response were: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    How to fix this issue?
    Regards,
    Siva

    Did you create a new web application or modify an existing web application?
    I would start by checking the ULS logs, maybe there is an incorrect setting within one of the web.config files, or SQL permissions.
    Also, as suggested above, check application pools are running.
    This blog post is a great guide for setting up FBA, check it through to make sure you haven't missed any steps:
    http://blogs.technet.com/b/ptsblog/archive/2013/09/20/configuring-sharepoint-2013-forms-based-authentication-with-sqlmembershipprovider.aspx

  • SharePoint 2013 - random authentication issue where users are suddenly anonymous

    Hi,
    I've banged my head for too long now on this issue, so I'm hoping anyone here can shed some light on it. We're running on April 2013 CU but the problem has existed since RTM.
    The issue is that some users (all of this random) can't access the site ("An error has occurred") and get an error page. The Web App is configured with Claims (NTLM and FBA Membership/Role Provider). No custom login page and configuration
    for the web.configs is verified. It works 99% of the times, but occasionally a user gets an error and I have to restart the Distributed Cache to fix it.
    1 WFE & 1 APP with SP2013 April 2013 CU with a few web apps. There's also a WAC server connected, but that shouldn't make a difference. The Distributed Cache runs only on the WFE:
    PS C:\> Use-CacheCluster
    PS C:\> Get-CacheHost
    HostName : CachePort Service Name Service Status Version Info
    WFE.domain.local:22233 AppFabricCachingService UP 3 [3,3][1,3]
    There's sufficient RAM to avoid the Distributed Cache to force purge data.
    The logs seem to indicate that the user is seen as anonymous:
    06/10/2013 12:47:48.11 w3wp.exe (0x1B64) 0x2EE4 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (GET:http://mywebapp:80/)). Parent No
    06/10/2013 12:47:48.11 w3wp.exe (0x1B64) 0x2EE4 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:http://mywebapp:80/) fcfd239c-7f49-f04b-4187-c6fa1add3f5a
    06/10/2013 12:47:48.11 w3wp.exe (0x1B64) 0x2EE4 SharePoint Foundation Authentication Authorization agb9s Medium Non-OAuth request. IsAuthenticated=False, UserIdentityName=, ClaimsCount=0 fcfd239c-7f49-f04b-4187-c6fa1add3f5a
    06/10/2013 12:47:48.11 w3wp.exe (0x1B64) 0x2B58 SharePoint Foundation General af71 Medium HTTP Request method: GET fcfd239c-7f49-f04b-4187-c6fa1add3f5a
    06/10/2013 12:47:48.11 w3wp.exe (0x1B64) 0x2B58 SharePoint Foundation General af75 Medium Overridden HTTP request method: GET fcfd239c-7f49-f04b-4187-c6fa1add3f5a
    06/10/2013 12:47:48.11 w3wp.exe (0x1B64) 0x2B58 SharePoint Foundation General af74 Medium HTTP request URL: / fcfd239c-7f49-f04b-4187-c6fa1add3f5a
    06/10/2013 12:47:48.13 w3wp.exe (0x1B64) 0x2B58 SharePoint Foundation Files aise3 Medium Failure when fetching document. 0x80070005 fcfd239c-7f49-f04b-4187-c6fa1add3f5a
    06/10/2013 12:47:48.13 w3wp.exe (0x1B64) 0x28AC SharePoint Foundation Logging Correlation Data xmnv Medium Site=/ fcfd239c-7f49-f04b-4187-c6fa1add3f5a
    06/10/2013 12:47:48.13 w3wp.exe (0x1B64) 0x28AC SharePoint Foundation General 8e2s Medium Unknown SPRequest error occurred. More information: 0x80070005 fcfd239c-7f49-f04b-4187-c6fa1add3f5a
    06/10/2013 12:47:48.15 w3wp.exe (0x1B64) 0x28AC SharePoint Foundation General aix9j High SPRequest.OpenWeb: UserPrincipalName=, AppPrincipalName= ,bstrUrl=http://mywebapp/ fcfd239c-7f49-f04b-4187-c6fa1add3f5a
    06/10/2013 12:47:48.15 w3wp.exe (0x1B64) 0x28AC SharePoint Foundation General ai1wu Medium System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)), StackTrace: at Microsoft.SharePoint.SPWeb.InitWeb() at Microsoft.SharePoint.SPWeb.get_EnableMinimalDownload() at Microsoft.SharePoint.Utilities.SPUtility.Redirect(String url, SPRedirectFlags flags, HttpContext context, String queryString) at Microsoft.SharePoint.Utilities.SPUtility.HandleAccessDenied(HttpContext context) at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.PreSendRequestHeaders(Object oSender, EventArgs ea) at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.EndRequestHandler(Object oSender, EventArgs ea) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.... fcfd239c-7f49-f04b-4187-c6fa1add3f5a
    06/10/2013 12:47:48.15* w3wp.exe (0x1B64) 0x28AC SharePoint Foundation General ai1wu Medium ...HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error) at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificati... fcfd239c-7f49-f04b-4187-c6fa1add3f5a
    06/10/2013 12:47:48.15* w3wp.exe (0x1B64) 0x28AC SharePoint Foundation General ai1wu Medium ...onStatus& notificationStatus) at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) fcfd239c-7f49-f04b-4187-c6fa1add3f5a
    06/10/2013 12:47:48.15 w3wp.exe (0x1B64) 0x28AC SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (PreSendRequestHeaders). Execution Time=11,6273 fcfd239c-7f49-f04b-4187-c6fa1add3f5a
    06/10/2013 12:47:48.19 w3wp.exe (0x1B64) 0x07E4 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (GET:http://mywebapp:80/_layouts/15/Authenticate.aspx?Source=%2F)). Parent No
    06/10/2013 12:47:48.19 w3wp.exe (0x1B64) 0x07E4 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:http://mywebapp:80/_layouts/15/Authenticate.aspx?Source=%2F) fcfd239c-5f4e-f04b-4187-c4e9f3c4dff3
    06/10/2013 12:47:48.19 w3wp.exe (0x1B64) 0x07E4 SharePoint Foundation Authentication Authorization agb9s Medium Non-OAuth request. IsAuthenticated=False, UserIdentityName=, ClaimsCount=0 fcfd239c-5f4e-f04b-4187-c4e9f3c4dff3
    06/10/2013 12:47:48.19 w3wp.exe (0x1B64) 0x07E4 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/ fcfd239c-5f4e-f04b-4187-c4e9f3c4dff3
    06/10/2013 12:47:48.19 w3wp.exe (0x1B64) 0x07E4 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:http://mywebapp:80/_layouts/15/Authenticate.aspx?Source=%2F)). Execution Time=8,0499 fcfd239c-5f4e-f04b-4187-c4e9f3c4dff3
    06/10/2013 12:47:48.32 w3wp.exe (0x1B64) 0x25E4 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (GET:http://mywebapp:80/_login/default.aspx?ReturnUrl=%2f_layouts%2f15%2fAuthenticate.aspx%3fSource%3d%252F&Source=%2F)). Parent No
    06/10/2013 12:47:48.32 w3wp.exe (0x1B64) 0x25E4 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:http://mywebapp:80/_login/default.aspx?ReturnUrl=%2f_layouts%2f15%2fAuthenticate.aspx%3fSource%3d%252F&Source=%2F) fcfd239c-2f56-f04b-4187-cca1c6a273e0
    06/10/2013 12:47:48.32 w3wp.exe (0x1B64) 0x25E4 SharePoint Foundation Authentication Authorization agb9s Medium Non-OAuth request. IsAuthenticated=False, UserIdentityName=, ClaimsCount=0 fcfd239c-2f56-f04b-4187-cca1c6a273e0
    06/10/2013 12:47:48.32 w3wp.exe (0x1B64) 0x25E4 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/ fcfd239c-2f56-f04b-4187-cca1c6a273e0
    06/10/2013 12:47:48.33 w3wp.exe (0x1B64) 0x25E4 SharePoint Foundation General 8e2s Medium Unknown SPRequest error occurred. More information: 0x80070005 fcfd239c-2f56-f04b-4187-cca1c6a273e0
    06/10/2013 12:47:48.33 w3wp.exe (0x1B64) 0x25E4 SharePoint Foundation General aix9j High SPRequest.GetPageListId: UserPrincipalName=, AppPrincipalName= ,bstrUrl=http://mywebapp/_login/default.aspx?ReturnUrl=/_layouts/15/Authenticate.aspx?Source=%252F&Source=/ fcfd239c-2f56-f04b-4187-cca1c6a273e0
    06/10/2013 12:47:48.33 w3wp.exe (0x1B64) 0x25E4 SharePoint Foundation General ai1wu Medium System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)), StackTrace: at Microsoft.SharePoint.SPContext.get_ListId() at Microsoft.SharePoint.SPContext.get_List() at Microsoft.SharePoint.WebControls.ScriptLink.InitJs_Register(Page page) at Microsoft.SharePoint.WebControls.ScriptLink.RegisterForControl(Control ctrl, Page page, String name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String language, Boolean injectNoDefer, Boolean controlRegistration, Boolean loadInlineLast, Boolean ignoreFileNotFound) at Microsoft.SharePoint.WebControls.ScriptLink.Register(Control ctrl, Page page, String name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String language, String uiVersion, String ctag) at Micros... fcfd239c-2f56-f04b-4187-cca1c6a273e0
    06/10/2013 12:47:48.33* w3wp.exe (0x1B64) 0x25E4 SharePoint Foundation General ai1wu Medium ...oft.SharePoint.WebControls.ScriptLink.Register(String uiVersion, Control ctrl, Page page, String name, Boolean localizable, Boolean defer) at Microsoft.SharePoint.WebControls.ScriptLink.Register(Control ctrl, Page page, String name, Boolean localizable, Boolean defer) at Microsoft.SharePoint.WebControls.ScriptLink.GetOnDemandScriptKey(String strKey, String strFile, Boolean registerDependencies, Control ctrl, Page page) at Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Control ctrl, Page page, String strKey, String strFile, Boolean localizable) at Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Page page, String strFile, Boolean localizable) at Microsoft.SharePoint.WebControls.ScriptLink.RegisterForControl(Control ctrl, Page page, String name, ... fcfd239c-2f56-f04b-4187-cca1c6a273e0
    06/10/2013 12:47:48.33* w3wp.exe (0x1B64) 0x25E4 SharePoint Foundation General ai1wu Medium ...Boolean localizable, Boolean defer, Boolean loadAfterUI, String language, Boolean injectNoDefer, Boolean controlRegistration, Boolean loadInlineLast, Boolean ignoreFileNotFound) at Microsoft.SharePoint.WebControls.ScriptLink.Register(Control ctrl, Page page, String name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String language, String uiVersion, String ctag) at Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Control ctrl, Page page, String strKey, String strFile, Boolean localizable) at Microsoft.SharePoint.WebControls.ScriptLink.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Co... fcfd239c-2f56-f04b-4187-cca1c6a273e0
    06/10/2013 12:47:48.33* w3wp.exe (0x1B64) 0x25E4 SharePoint Foundation General ai1wu Medium ...ntrol.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error) at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) at System.Web.HttpRuntime.Proc... fcfd239c-2f56-f04b-4187-cca1c6a273e0
    06/10/2013 12:47:48.33* w3wp.exe (0x1B64) 0x25E4 SharePoint Foundation General ai1wu Medium ...essRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr modul... fcfd239c-2f56-f04b-4187-cca1c6a273e0
    06/10/2013 12:47:48.33* w3wp.exe (0x1B64) 0x25E4 SharePoint Foundation General ai1wu Medium ...eData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) fcfd239c-2f56-f04b-4187-cca1c6a273e0
    06/10/2013 12:47:48.33 w3wp.exe (0x1B64) 0x25E4 SharePoint Foundation General 8e2s Medium Unknown SPRequest error occurred. More information: 0x80070005 fcfd239c-2f56-f04b-4187-cca1c6a273e0
    06/10/2013 12:47:48.33 w3wp.exe (0x1B64) 0x25E4 SharePoint Foundation General aix9j High SPRequest.OpenWeb: UserPrincipalName=, AppPrincipalName= ,bstrUrl=http://mywebapp/_login/default.aspx?ReturnUrl=/_layouts/15/Authenticate.aspx?Source=%252F&Source=/ fcfd239c-2f56-f04b-4187-cca1c6a273e0
    06/10/2013 12:47:48.33 w3wp.exe (0x1B64) 0x25E4 SharePoint Foundation General ai1wu Medium System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)), StackTrace: at Microsoft.SharePoint.SPWeb.InitWeb() at Microsoft.SharePoint.SPWeb.get_WebTemplateConfiguration() at Microsoft.SharePoint.WebControls.ScriptLink.InitJs_Register(Page page) at Microsoft.SharePoint.WebControls.ScriptLink.RegisterForControl(Control ctrl, Page page, String name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String language, Boolean injectNoDefer, Boolean controlRegistration, Boolean loadInlineLast, Boolean ignoreFileNotFound) at Microsoft.SharePoint.WebControls.ScriptLink.Register(Control ctrl, Page page, String name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String language, String uiVersion, String ctag) ... fcfd239c-2f56-f04b-4187-cca1c6a273e0
    06/10/2013 12:47:48.33* w3wp.exe (0x1B64) 0x25E4 SharePoint Foundation General ai1wu Medium ...at Microsoft.SharePoint.WebControls.ScriptLink.Register(String uiVersion, Control ctrl, Page page, String name, Boolean localizable, Boolean defer) at Microsoft.SharePoint.WebControls.ScriptLink.Register(Control ctrl, Page page, String name, Boolean localizable, Boolean defer) at Microsoft.SharePoint.WebControls.ScriptLink.GetOnDemandScriptKey(String strKey, String strFile, Boolean registerDependencies, Control ctrl, Page page) at Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Control ctrl, Page page, String strKey, String strFile, Boolean localizable) at Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Page page, String strFile, Boolean localizable) at Microsoft.SharePoint.WebControls.ScriptLink.RegisterForControl(Control ctrl, Page page, Stri... fcfd239c-2f56-f04b-4187-cca1c6a273e0
    06/10/2013 12:47:48.33* w3wp.exe (0x1B64) 0x25E4 SharePoint Foundation General ai1wu Medium ...ng name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String language, Boolean injectNoDefer, Boolean controlRegistration, Boolean loadInlineLast, Boolean ignoreFileNotFound) at Microsoft.SharePoint.WebControls.ScriptLink.Register(Control ctrl, Page page, String name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String language, String uiVersion, String ctag) at Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Control ctrl, Page page, String strKey, String strFile, Boolean localizable) at Microsoft.SharePoint.WebControls.ScriptLink.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.... fcfd239c-2f56-f04b-4187-cca1c6a273e0
    06/10/2013 12:47:48.33* w3wp.exe (0x1B64) 0x25E4 SharePoint Foundation General ai1wu Medium ...Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error) at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) at System.Web.HttpRun... fcfd239c-2f56-f04b-4187-cca1c6a273e0
    06/10/2013 12:47:48.33* w3wp.exe (0x1B64) 0x25E4 SharePoint Foundation General ai1wu Medium ...time.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, Int... fcfd239c-2f56-f04b-4187-cca1c6a273e0
    06/10/2013 12:47:48.33* w3wp.exe (0x1B64) 0x25E4 SharePoint Foundation General ai1wu Medium ...Ptr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) fcfd239c-2f56-f04b-4187-cca1c6a273e0
    06/10/2013 12:47:48.33 w3wp.exe (0x1B64) 0x25E4 SharePoint Foundation General 8e2s Medium Unknown SPRequest error occurred. More information: 0x80070005 fcfd239c-2f56-f04b-4187-cca1c6a273e0
    06/10/2013 12:47:48.33 w3wp.exe (0x1B64) 0x25E4 SharePoint Foundation General aix9j High SPRequest.OpenWeb: UserPrincipalName=, AppPrincipalName= ,bstrUrl=http://mywebapp/_login/default.aspx?ReturnUrl=/_layouts/15/Authenticate.aspx?Source=%252F&Source=/ fcfd239c-2f56-f04b-4187-cca1c6a273e0
    06/10/2013 12:47:48.33 w3wp.exe (0x1B64) 0x25E4 SharePoint Foundation General ai1wu Medium System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)), StackTrace: at Microsoft.SharePoint.SPWeb.InitWeb() at Microsoft.SharePoint.SPWeb.get_EnableMinimalDownload() at Microsoft.SharePoint.WebControls.DeltaPage.RenderToBase(HtmlTextWriter writer) at Microsoft.SharePoint.WebControls.DeltaPage.Render(HtmlTextWriter writer) at Microsoft.SharePoint.WebControls.UnsecuredLayoutsPageBase.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean inclu... fcfd239c-2f56-f04b-4187-cca1c6a273e0
    06/10/2013 12:47:48.33* w3wp.exe (0x1B64) 0x25E4 SharePoint Foundation General ai1wu Medium ...deStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error) at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)... fcfd239c-2f56-f04b-4187-cca1c6a273e0
    06/10/2013 12:47:48.33* w3wp.exe (0x1B64) 0x25E4 SharePoint Foundation General ai1wu Medium ... at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) fcfd239c-2f56-f04b-4187-cca1c6a273e0
    06/10/2013 12:47:48.33 w3wp.exe (0x1B64) 0x25E4 SharePoint Foundation General 8e2s Medium Unknown SPRequest error occurred. More information: 0x80070005 fcfd239c-2f56-f04b-4187-cca1c6a273e0
    06/10/2013 12:47:48.33 w3wp.exe (0x1B64) 0x25E4 SharePoint Foundation General aix9j High SPRequest.OpenWeb: UserPrincipalName=, AppPrincipalName= ,bstrUrl=http://mywebapp/_login/default.aspx?ReturnUrl=/_layouts/15/Authenticate.aspx?Source=%252F&Source=/ fcfd239c-2f56-f04b-4187-cca1c6a273e0
    06/10/2013 12:47:48.33 w3wp.exe (0x1B64) 0x25E4 SharePoint Foundation General ai1wu Medium System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)), StackTrace: at Microsoft.SharePoint.SPWeb.InitWeb() at Microsoft.SharePoint.SPWeb.get_EnableMinimalDownload() at Microsoft.SharePoint.WebControls.DeltaPage.RenderToBase(HtmlTextWriter writer) at Microsoft.SharePoint.WebControls.DeltaPage.Render(HtmlTextWriter writer) at Microsoft.SharePoint.WebControls.UnsecuredLayoutsPageBase.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean inclu... fcfd239c-2f56-f04b-4187-cca1c6a273e0
    06/10/2013 12:47:48.33* w3wp.exe (0x1B64) 0x25E4 SharePoint Foundation General ai1wu Medium ...deStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error) at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)... fcfd239c-2f56-f04b-4187-cca1c6a273e0
    06/10/2013 12:47:48.33* w3wp.exe (0x1B64) 0x25E4 SharePoint Foundation General ai1wu Medium ... at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) fcfd239c-2f56-f04b-4187-cca1c6a273e0
    06/10/2013 12:47:48.33 w3wp.exe (0x1B64) 0x25E4 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:http://mywebapp:80/_login/default.aspx?ReturnUrl=%2f_layouts%2f15%2fAuthenticate.aspx%3fSource%3d%252F&Source=%2F)). Execution Time=17,7845 fcfd239c-2f56-f04b-4187-cca1c6a273e0
    06/10/2013 12:47:48.55 w3wp.exe (0x1B64) 0x043C SharePoint Foundation Authentication Authorization agb9s Medium Non-OAuth request. IsAuthenticated=False, UserIdentityName=, ClaimsCount=0
    I'm figuring the Distributed Cache gets confused about the authentication tokens and starts handing out the wrong token to some users ? If I leave the Distributed Cache disabled it seems to permanently fix the issue, but that's not an ideal scenario.
    All help is appreciated!

    please read about logon token cache section in
    http://blogs.msdn.com/b/besidethepoint/archive/2013/03/27/appfabric-caching-and-sharepoint-1.aspx ;
    And when anonymous authentication is enabled for a web application zone that use windows integrated authentication, SharePoint use WSS_Keepsessionauthenticated cookie to prevent reverting to anonymous. Also check the browser handling of this session cookie.
    also, analyze the error logs in WSS_Logging database if the logging is turned on:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/8ba7b6e9-0b5d-4c4b-bd66-d2c72bb538b3/web-analytics-for-specific-pages-somehow-with-2010-unique-visitors#06b4fdd9-1d24-445c-bddc-db9cac1135e0 . The data volume can be large, so, don't do this in
    a production environment, you can backup the WSS_logging database and analyze it elsewhere. 

  • Sharepoint 2013 Get Lists Javascript Trimmed

    Hello,
    I have a odd behavior in team sites and publishing sites.
    I have the following scenario,
    I have created a document library that a particular
    user is not allowed to by removing the group of permissions the user is in from the library.
    On the site
    contents on a team site the document library is not visible but
    in thepublishing site appears visible.Although
    if you browse to it gives you the access
    denied message page. The issue is
    that I need to have and app part that gets the document libraries and
    i'm using the JSOMweb.get_lists
    (). It returns the list in question
    for that user without him having any kind of permission
    on the list.
    This situation happens both on jsom and on the site contents page
    Can you help me understand what is going on?

    Hi,
    What’s the permissions of this user on site or this library?
    Is this library invisible in the site contents page for this user?
    Best regards
    Patrick Liang
    TechNet Community Support

  • SharePoint 2013 - getting an error while clicking on the ellipsis of a document in a Document Library

    I have a standard out-of-the-box Document Library. versioning/checkin/out is enabled. There are a few extra columns added to the library. There is this a weird random behavior when clicking on the ellipsis (...) button on a document. Sometimes it will display
    the context menu and sometimes it will give me this error:
    TypeError: Unable to get property 'FileLeafRef' of undefined or null referenceTypeError: Unable to get property 'ItemType' of undefined or null referenceTypeError: Unable to get property 'ID' of undefined or null reference
    Sometimes a refresh will fix it. Sometimes it won't. It's all pretty random.
    Anyone have this issue or have any ideas on how to solve it?

    Hi
    "TypeError: Unable to get property 'FileLeafRef' of undefined or null reference"
    You can find some alternatives here (none of which have I tried or am I recommending):
    http://alternativeto.net/software/hotspot-shield/
    I'd still suggest ensuring you are running the latest version and contacting the vendor
    "TypeError: Unable to get property 'ItemType' of undefined or null reference"
    please try to test the site using IE Compatibility View, compare the result.
    Also, try to reset IE , compare the result.
    Here is a similar posts for your reference:
    http://social.technet.microsoft.com/Forums/en-US/6efe0564-7df9-4812-b08b-a9d36e3c257b/typeerror?forum=w8itprogeneral
    TypeError: Unable to get property 'ID' of undefined or null reference
    http://community.microstrategy.com/t5/Web/TN204030-TypeError-Unable-to-get-property-id-of-undefined-or/ta-p/204030
    Indul Hassan
    Microsoft Community Contributor
    http://www.indulhassan.com
    You Snooze.. You Lose !!

  • Sharepoint 2013 delivers documents through IIS too good! Need to restrict by logged in user

    I have a Sharepoint 2013 app that lets external users (https://) pull data from SQL to create links on the page that the user can click on to get documents to pop-up in the browser so they can view/save them.  The page sends the user's ID as a parameter
    and the stored proc uses that to return only the documents that user is allowed to see.  Took forever to figure out... looks great... my employer is going to be impressed and save money... yada, yada yada!  Problem is:  If you knew the name
    of a directory on the mapped location and knew the filename (somehow), and you had a login that got you to the site, you could successfully put that address in your address bar and the document would come up!  That's a bad thing!  I need to only
    let users see documents they have access to.
    I have been playing with the app pool settings and advanced settings for the sub-site, but it still lets me pull items that the logged-in user doesn't have permissions on the server to get to.  I haven't been able to prove it, but I suspect that IIS
    is sending another login credential to the directory to retrieve the file... something like "admin" or something that can have wider access.
    Here is my setup:  I have a directory on another server that is mapped to the Sharepoint Server box.  I have a Virtual Directory that points to that mapped drive.  My Sharepoint Page is on a site of its own and is called with the URL "https://reportcenter.<company
    name>.com".  There is only one page on the site.  When the page opens it provides links to documents on the Virtual Directory.  When you click on any of them the files appear in the browser just fine.  Sharepoint is running on a
    Windows 2012 R2 Standard OS.  The test user I am using is "Client1" and they are a member of the "SP_Clients" group which is not a member of anything else in Active Directory.  In the file directory I went to the Share list and
    made sure my test user and the SP_Clients group is not in the list... if the system tried to use Client1 there is no way they should get access.
    Any thoughts on what I can do to stop Clients from getting to files they shouldn't be?

    Thank you for your question and reply.
    No, the identity is not passed as a URL property.  The way it works is that SP verifies the user and sends them to the default page after they sign-in.  Once there, the page evaluates the UserID value and that values is passed to a stored procedure
    as a parameter.  The user can't get to the page unless they are verified by SP, they can't somehow go around this. 
    Now, once the page loads they click on one of files they wish to see (a link on the page that was created from the results of the stored procedure call).  The link points to a virtual directory setup in IIS that points to a mapped drive where the files
    are located.  The security on the files is set on the directories in their actual location.  I just need SP to pass the user's ID to the file directory and check the sharing rights on the file to see if this user has rights to get it.  It seems
    like SP is passing some other credential (probably SP_Admin, or Admin or something) which has the ability to read the file and therefore pass it back to the screen.
    I can't put the documents in SharePoint... they have to be in a file directory. The reason is that we have an elaborate program that runs every month to create these files and places them in the correct directories.  Somehow changing that application
    to create the files and place them programmatically in a SharePoint directory is beyond the scope of the project.  Under the circumstances, it would be much simpler to just provide the user a list of the documents they have access to and have them click
    on a link on a page and have the document appear in their browser.  Everything actually works, but I just have this last piece where SP is not 'telling' the file directory the UserID of the logged in user and therefore all the documents are available.
    All that needs to be done, is to make sure the userID is passed to the file directory so it can be checked against the security there to see if the user can have the file or not.
    I hope that makes sense.  I look forward to hearing back from you with your thoughts on this and how this can be accomplished.
    Thanks,
    Scott

  • SharePoint 2013 On premises provider hosted app - Logged in user info

    As per my understanding, following scenario is not possible in a provided hosted app deployed for SharePoint 2013 on-premises.
    1) User clicks the button of app on a SharePoint Site. Remote Web app page opens
    2) Remote app page shows the message "Welcome [User Name]" (without authenticating user again)
    3) If that user has contributor permissions in originating SharePoint site, the app should display "Welcome Contributor" otherwise it should display "Welcome Visitor"
    Please let me know if above functionality could be achieved?
    Hammad Arif EPM Advice Blog

    Hi,
    According to your description,my understanding is that you want to show user information when clicking  the app without asking credentials .
    By default, SharePoint Provider hosted app is hosted outside SharePoint web application, so it needs credentials to get OAuth. 
    I suggest you can use SharePoint hosted app, it hosted at the same web application as SharePoint, then when you click the app, it will get the current logged in user without  without asking credentials.
    Here are some detailed articles for your reference:
    Choose patterns for developing and hosting your app for SharePoint
    How to: Create a basic SharePoint-hosted app
    How to Check User permission for the web, list or SharePoint Item in SharePoint JavaScript Object Model
    Thanks
    Best Regards,
    Jerry Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • User Group is not receiving email Sharepoint 2013 & Nintex workflow

    Hi I created circular workflow using nintex and sharepoint 2013 , now problem occur that User group did not receive email notification through web portal , sending individual email address working fine but user group is not receiving
    any email, not a single group is working now , to clear we used same workflow since last two years and all group received email earlier but now we are facing this issue since last 3 weeks. to resolve this we create new test groups and test but enable
    to send.
    looking for support to resolve this issue
    Regards

    This actually sounds like a problem that should be discussed on the Nintex forums, can you try over there?
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

  • How to Merge two user accounts(duplicate accounts) in SharePoint 2013?

    Hello,
    There are 2-3 user accounts with the same name. I want to merge those accounts in one account with only one name. How to do it in SharePoint 2013? Is there any PowerShell command or script to do that?
    Please Guide.
    chirag

    Hi chirag,
    According to your description, my understanding is that you want to merge the user accounts which have duplicated names in SharePoint 2013.
    Were there duplicated user accounts in Active Directory?
    If not, the user may had two accounts in AD and one of the accounts that doesn't exist anymore is still used in SharePoint.
    Please check if there is any permission assignment to this user, remove all their assignments and add them again only for the valid account.
    Here is a similar issue for you to take a look:
    http://sharepoint.stackexchange.com/questions/22232/how-do-i-eliminate-duplicate-user-accounts
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Sharepoint 2013 - Display Disclaimer when a MySite is created

    Hallo there,
    i spent the whole day searching the web for something i thought i already found some time ago, but cannot remember where...
    Maybe you guys can help...
    We need to Display some Kind of disclaimer / Terms of usage when a user initially creates his mysite. Best solution would be to Display a Website with a "Yes" / "No" choice... Clicking "Yes" would continue to create the
    users mysite - "No" would cancel the process.
    is there any way to do this?
    Thanks in Avance!
    Phife

    Hi Phife,
    When we first time to click "About me" menu to create MySite, it will pop up "Let's get social" dialog, I think you may have found this dialog some time ago.
    If you want to popup other disclaimer dialog when you click "About me", I think you can try customizing it's event to judge if MySite hasn't been created then pop up the custom disclaimer dialog with Yes/No choices for creating mysite agreement, then perform
    the proper action based on the Yes or No.
    http://paulliebrand.com/2014/02/26/sharepoint-2013-get-the-most-out-of-sharepoint-dialog-explained/
    Thanks,
    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] 
    Daniel Yang
    TechNet Community Support

  • Auto update people picker value with email id when we add username in another people picker field in sharepoint 2013 list using javascript

    hi friends
    i have to people picker fields
    pp1 and pp2
    pp1 represents username
    pp2 represents email id
    here i problem is if user enters name in pp1, pp2 has to update with email id of corresponding user in pp1 dynamically.
    using java script is there any solution for this.
    please help me

    Hope below will help
    <asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">
    <script type="text/ecmascript" language="ecmascript">
    var user;
    var visitorsGroup;
    function runCode() {
    var clientContext = new SP.ClientContext();
    var groupCollection = clientContext.get_web().get_siteGroups();
    // Get the visitors group, assuming its ID is 4.
    visitorsGroup = groupCollection.getById(4);
    user = clientContext.get_web().get_currentUser();
    var userCollection = visitorsGroup.get_users();
    userCollection.addUser(user);
    clientContext.load(user);
    clientContext.load(visitorsGroup);
    clientContext.executeQueryAsync(Function.createDelegate(this, this.onQuerySucceeded), Function.createDelegate(this, this.onQueryFailed));
    function onQuerySucceeded() {
    alert(user.get_title() + " added to group " + visitorsGroup.get_title());
    function onQueryFailed(sender, args) {
    alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
    </script>
    <input id="Button1" type="button" value="Run Code" onclick="runCode()" />
    </asp:Content>http://msdn.microsoft.com/en-us/library/office/jj246835%28v=office.15%29.aspxhttp://msdn.microsoft.com/en-us/library/office/jj920104%28v=office.15%29.aspxhttp://stackoverflow.com/questions/20981226/sharepoint-2013-get-current-user-javascripthttp://sharepoint.stackexchange.com/questions/31457/get-user-via-javascript-client-object-model

  • Hashing password in UAG for FBA solution in Sharepoint 2013

    We have configured FBA SharePoint 2013 Pack from Codeplex on our SharePoint 2013 environment. Creating new users will hash the user passwords in the database. When we try to authenticate the FBA users via UAG (not joined to domain) the password
    will compare in clear text to the hashed password in the database. Is there any way to configure the UAG to hash the passwords the same way so we can compare it with the hashed value in our database?
    Any help here would be appriciated.

    Hi siddiqali,
    According to your description, my understanding is that you want to deploy SharePoint 2010 Sandbox solution to SharePoint 2013.
    Most of the wsp Solutions deployed in SharePoint 2010 should work fine in SharePoint 2013. This is because of the Support for both 14 Hive and 15 Hive directories that are Created in SharePoint 2013 by default.
    Initially, when you deploy a SharePoint 2010 Solution it gets deployed to 14 Hive and not 15 Hive. To force the solution to install in 15 Hive you need to modify manifest.xml file of your solution and add addSharePointVersion=”15.0” attribute to it. The
    Solutions can be forced to install in 15 hive. However, some of the files especially that refers to _layouts might not work. All SharePoint 2010 Solution files that refers to _layouts folder (i.e. Features, Layouts-files, Images, ControlTemplates)needs to
    be updated, the best approach is to re-create the Solution in Visual Studio 2012.
    More information, please refer to the link:
    http://www.learningsharepoint.com/2013/03/24/deploy-sharepoint-2010-solutions-in-sharepoint-2013/
    Here are some similar posts for you to take a look at:
    http://www.threewill.com/2013/10/migrating-a-sharepoint-2010-solution-to-a-sharepoint-2013/
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/30fe4cb9-ea11-46d0-868d-4306d915b4db/how-to-convert-sp2010-wsp-to-sp2013?forum=sharepointdevelopment
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

Maybe you are looking for

  • Abap code not working  - deleting based on master data table information

    Hi, I wrote a piece of code earlier which is working and during test we found out that it will be hard for the support guys to maintain because it was hard coded and there is possibility that users will include more code nums in the future sample cod

  • Jdev 11g - Error while opening struts-config.xml

    Hi, could you help me please, I have this error when I try to open my struts-config.xml file: Message BME-99003: An error occurred, so processing could not continue. Cause The application has tried to de-reference an invalid pointer. This exception s

  • Bridge CC freeze and crash

    Hi guys i'm having a big problem with Adobe Bridge CC. I'm on creative cloud educational, my bridge version is 6.0.1.6 Macbook pro 13 I7 (2012), 8 Gb ram, osx mountain lion 10.8.5 550 gb free space on my hdd. Every time i browse to a folder that cont

  • Rule Author-How to use own JSP screen instead of Rule Author Customization

    hi' I am using Oracle Business Rules and creating Rule Repository using Rule Author however I want to use my own JSP screen for customization of Rules instead of using Rule Author customization screen. please tell me how to do this. thanks Yatan Edit

  • Getting two XBox's to connect to Live on Homehub 2...

    Hi I wonder if anyone can help? I have set up the port forwarding for one Xbox and that works fine. The other gets the NAT Strict warning and wont connect to Live. I have even set that one to be in the DMZ but it still wont connect to Live with the o