The tag has no usage guidance.

learn more… | top users | synonyms

4
votes
1answer
1k views

SPWeb.GetUserToken(x) vs SPWeb.Users[x].UserToken

I'm working in code to elevate an account with the Read role to a specific account with the Contribute role in order to create a list item. I currently get the SPUserToken for the contribution ...
4
votes
3answers
2k views

SPAppToken (context token) is null

I have a Sharepoint 2013 on premise environment for which I am developing an provider hosted app using Visual Studio. The Visual Studio project has an app project which contains a custom ribbon ...
3
votes
1answer
6k views

~ in ~site/_catalogs/masterpage/m.master is ignored

I've received a WSP where the contained pages reference the master page as shown in the title. The pages are deployed to a folder under the Site (ie http://app.contoso.com/PagesFolder/welcome.aspx). ...
3
votes
0answers
168 views

{StandardTokens} token in CommandAction Url does not get replaced

I have a provider hosted add-in running on a SharePoint Online development site that has several lists as part of the solution. My goal is on when somebody clicks a Ribbon CustomAction associated ...
2
votes
3answers
4k views

Get context token for SharePoint 2013 provider hosted app (on-premise) with web project hosted on azure

I have an on-premise SharePoint environment for which I'm developing a provider hosted app using visual studio. The web project is hosted an azure. The app project contains a custom ribbon button that ...
2
votes
0answers
90 views

Sharepoint Authentication via REST API

I would like to connect to Sharepoint via REST API and Javascript. Based on readings I've done, first you need to have Security Token, then you use this Security Token to get FedAuth cookies, ...
2
votes
2answers
1k views

SharePoint provider hosted app context token is null in Client Web Part

I have a working SharePoint provider hosted app, with an MVC web application residing on an Azure Web site. Entering the full screen app page, everything looks as expected. Adding a client web part ...
1
vote
1answer
236 views

extend caml token ?

is there an hook or interface or whatever that could be used for extending token functionality of sharepoint? For example [Me] token is insufficient for me and I would like to for example develop my ...
1
vote
1answer
2k views

How Do I Configure the SharePoint 2010 Security Token Service for Use By Another Web Application?

I am trying to configure the SharePoint Security Token Service on SharePoint 2010 so that another non-SharePoint web application can use SharePoint for authentication (SSO). The only instructions I ...
1
vote
2answers
188 views

SharePoint Online - Token empty error

I am creating an app for SharePoint online with provider hosted app model. I followed all the steps to create an app and ensured both web.config and appmanifest.xml has same Client id. Though it ...
1
vote
1answer
1k views

Difference between DynamicMasterPageFile and Static Token

I am reading article http://blogs.msdn.com/b/bgeoffro/archive/2009/06/22/master-pages-revisited-references-to-master-pages-in-sharepoint.aspx but I am not sure what they mean by ...
1
vote
0answers
77 views

Alternative for ADAL in SharePoint hosted app

Is there any alternative for ADAL. I have created SharePoint hosted app. For every new build app deployed with new url with new Id like ...
1
vote
0answers
63 views

Security Token Generation in Trusted Identity Provider for SharePoint 2013

I am using Thinktecture Identity Provider for SharePoint 2013. I know that, for FBA, we can generate security token for user authentication using SPSecurityContext.SecurityTokenForFormsAuthentication. ...
1
vote
1answer
102 views

Office 365 Authorization without login

I am developing a Mobile app which sends data to SharePoint list (SharePoint Online, Office 365). The users of the app should be able to save data in the list silently, without logging. Is this ...
1
vote
0answers
287 views

SharePoint Document Folders Not Accessible

I apologize if this question is dealt with elsewhere, but so far I haven't been able to locate it. My company is running SharePoint Server 2007. I am an owner/admin of several sites and they all ...
0
votes
2answers
4k views

Error using SPContext.Current.Web.AllUsers in Visual Studio workflow

I have the following code running in a Visual Studio workflow. I am trying to specify the user who is adding list items in the code because I guess the system account (default for VS) will not allow ...
0
votes
1answer
214 views

Will AllowAppOnlyPolicy and CreateUserClientContextForSPHost elevate user rights

If one has enabled AllowAppOnlyPolicy and use the CreateUserClientContextForSPHost method will I elevate the users rights, or is this only the case when you create app only token?
0
votes
1answer
245 views

AppSecret key lifetime and expiration

I see when I use Seller Dashboard max token lifetime is 3 year. Does anybody know it how long it be valid if I use AppRegnew.aspx page?
0
votes
2answers
353 views

SPUser have logon into Site Collection?

Possible to loop through all Site Collection Users and check if they have ever logon into the Site Collection and when? db table dbo.UserInfo tokens info can be useful? this script can retrieve the ...
0
votes
1answer
96 views

SP2007 using Source token in link

In SharePoint 2007 in some occasions i see that when im redirected to some pages etc, i see a source in query string, and this i can use to be redirected back to the original page. I've read on msdn ...
0
votes
2answers
272 views

Authentication with username only

I currently have an MVC website that uses forms authentication using the default SqlMembershipProvider. In this website I can automatically log a user in by simply having a GUID that corresponds to ...
0
votes
3answers
5k views

Include Javascript in Custom Page Layout (Sandbox Solution)

I provision custom page layout through elements.xml I want to add a javascript file to that page to be used by some webparts put on that page through elements.xml as well. In my custom page layout i ...
0
votes
0answers
94 views

Security Token, Session id

I'm trying to set up an authentication mechanism between Sharepoint add-in and a middle-layer application. A user based session id should be used on each request from the user interface to the middle ...
0
votes
0answers
52 views

Securing an on Premise non-SharePoint .NET WEBAPI method with o365 Authentication token

We have a custom (non-sharepoint) .NET MVC WebAPI service running on premise. At a high level, possible somehow to secure methods on that web service using o365/SharePoint Online Authentication ...
0
votes
0answers
92 views

Sliding Sessions in SharePoint 2013

Can anyone please explain Sliding Sessions in SP 2013 clearly? I referred some links given below. But every link seems to be explaining things differently and I am getting more confused. ...
0
votes
0answers
30 views

Access Token (Java) [duplicate]

How do you get Access Token using REST? I'm trying to upload a folder in my Document Library using REST but it requires a Access Token in the header. Here is the code: public void ...
0
votes
1answer
210 views

Publish Provider-Hosted App Problem

I have a default provider-hosted application that prints the site title. When I publish it to my Windows Azure it works great, but when I publish it to my company server (Windows Server 2008 R2, IIS ...
0
votes
1answer
228 views

{ListId} token is not replaced by the Id of the List

I'm extremly new with Sharepoint 2010. In my masterpage, I display a list of news. I'd like to create a permanant "Add news" at the bottom of the list (programmatically) but I can't find the ListId. ...
0
votes
1answer
250 views

Claim Types in Sharepoint 2010

I am currently working on SAML2.0 to SAML1.0 conversion.How can i define my own Claim Type. Currently there are few claim types which can be passed and understood by sharepoint ...