Creating new users to SharePoint listUnderstanding REST: Verbs, error codes, and authenticationREST API Best practice: How to accept list of parameter values as inputIf REST applications are supposed to be stateless, how do you manage sessions?REST API AuthenticationCall a REST API in PHPSeparate REST JSON API server and client?Create new magento Rest api to get category list in magentoOffice 365 rest API to create a user accountHow to add file to sharepoint 2016 as specific user using Web APIUse Sharepoint Windows Authentication for Rest API

When were female captains banned from Starfleet?

Reverse int within the 32-bit signed integer range: [−2^31, 2^31 − 1]

250 Floor Tower

Closed-form expression for certain product

On a tidally locked planet, would time be quantized?

Symbol used to indicate indivisibility

Redundant comparison & "if" before assignment

Count the occurrence of each unique word in the file

What percentage of fillings performed today are done with mercury amalgam?

The screen of my macbook suddenly broken down how can I do to recover

If a character has darkvision, can they see through an area of nonmagical darkness filled with lightly obscuring gas?

How do you make your own symbol when Detexify fails?

Can I sign legal documents with a smiley face?

What is the evidence for the "tyranny of the majority problem" in a direct democracy context?

How could a planet have erratic days?

Why Shazam when there is already Superman?

How can Trident be so inexpensive? Will it orbit Triton or just do a (slow) flyby?

How did Rebekah know that Esau was planning to kill his brother in Genesis 27:42?

How do I color the graph in datavisualization?

Not using 's' for he/she/it

Non-trope happy ending?

What are the purposes of autoencoders?

What was this official D&D 3.5e Lovecraft-flavored rulebook?

height map for normal input sharp edges



Creating new users to SharePoint list


Understanding REST: Verbs, error codes, and authenticationREST API Best practice: How to accept list of parameter values as inputIf REST applications are supposed to be stateless, how do you manage sessions?REST API AuthenticationCall a REST API in PHPSeparate REST JSON API server and client?Create new magento Rest api to get category list in magentoOffice 365 rest API to create a user accountHow to add file to sharepoint 2016 as specific user using Web APIUse Sharepoint Windows Authentication for Rest API













0















I am creating new users to my SharePoint site using rest API but the problem is SharePoint accepts UserId to create new user . unfortunately I only have account name and first name ,last name . Is there any work around for this ? Please help if anyone knows how to do this



Thanks
Sunil










share|improve this question






















  • More information will be required before anybody can answer your question. For example, provide a link to the documentation for the API that you say you are using. People need to know its name.

    – Stephen
    Mar 7 at 7:37











  • $scope.UserData.User=$("#UserDetails").val() $scope.UserData.UserId="-1" here user is people picker field and value that i am passing to it is i:0#.w|globaltestsomeuser but its not accepting the value and bad request error .Since I am creating new user I pass UserId as a negative value but that's also not working ..

    – Sunil Bhuyar
    Mar 7 at 7:51












  • Might be duplicate of this question

    – Steve T
    Mar 7 at 19:09











  • It's is but don't have solution yet

    – Sunil Bhuyar
    Mar 7 at 19:12















0















I am creating new users to my SharePoint site using rest API but the problem is SharePoint accepts UserId to create new user . unfortunately I only have account name and first name ,last name . Is there any work around for this ? Please help if anyone knows how to do this



Thanks
Sunil










share|improve this question






















  • More information will be required before anybody can answer your question. For example, provide a link to the documentation for the API that you say you are using. People need to know its name.

    – Stephen
    Mar 7 at 7:37











  • $scope.UserData.User=$("#UserDetails").val() $scope.UserData.UserId="-1" here user is people picker field and value that i am passing to it is i:0#.w|globaltestsomeuser but its not accepting the value and bad request error .Since I am creating new user I pass UserId as a negative value but that's also not working ..

    – Sunil Bhuyar
    Mar 7 at 7:51












  • Might be duplicate of this question

    – Steve T
    Mar 7 at 19:09











  • It's is but don't have solution yet

    – Sunil Bhuyar
    Mar 7 at 19:12













0












0








0








I am creating new users to my SharePoint site using rest API but the problem is SharePoint accepts UserId to create new user . unfortunately I only have account name and first name ,last name . Is there any work around for this ? Please help if anyone knows how to do this



Thanks
Sunil










share|improve this question














I am creating new users to my SharePoint site using rest API but the problem is SharePoint accepts UserId to create new user . unfortunately I only have account name and first name ,last name . Is there any work around for this ? Please help if anyone knows how to do this



Thanks
Sunil







rest sharepoint-2016






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 7 at 7:28









Sunil BhuyarSunil Bhuyar

1




1












  • More information will be required before anybody can answer your question. For example, provide a link to the documentation for the API that you say you are using. People need to know its name.

    – Stephen
    Mar 7 at 7:37











  • $scope.UserData.User=$("#UserDetails").val() $scope.UserData.UserId="-1" here user is people picker field and value that i am passing to it is i:0#.w|globaltestsomeuser but its not accepting the value and bad request error .Since I am creating new user I pass UserId as a negative value but that's also not working ..

    – Sunil Bhuyar
    Mar 7 at 7:51












  • Might be duplicate of this question

    – Steve T
    Mar 7 at 19:09











  • It's is but don't have solution yet

    – Sunil Bhuyar
    Mar 7 at 19:12

















  • More information will be required before anybody can answer your question. For example, provide a link to the documentation for the API that you say you are using. People need to know its name.

    – Stephen
    Mar 7 at 7:37











  • $scope.UserData.User=$("#UserDetails").val() $scope.UserData.UserId="-1" here user is people picker field and value that i am passing to it is i:0#.w|globaltestsomeuser but its not accepting the value and bad request error .Since I am creating new user I pass UserId as a negative value but that's also not working ..

    – Sunil Bhuyar
    Mar 7 at 7:51












  • Might be duplicate of this question

    – Steve T
    Mar 7 at 19:09











  • It's is but don't have solution yet

    – Sunil Bhuyar
    Mar 7 at 19:12
















More information will be required before anybody can answer your question. For example, provide a link to the documentation for the API that you say you are using. People need to know its name.

– Stephen
Mar 7 at 7:37





More information will be required before anybody can answer your question. For example, provide a link to the documentation for the API that you say you are using. People need to know its name.

– Stephen
Mar 7 at 7:37













$scope.UserData.User=$("#UserDetails").val() $scope.UserData.UserId="-1" here user is people picker field and value that i am passing to it is i:0#.w|globaltestsomeuser but its not accepting the value and bad request error .Since I am creating new user I pass UserId as a negative value but that's also not working ..

– Sunil Bhuyar
Mar 7 at 7:51






$scope.UserData.User=$("#UserDetails").val() $scope.UserData.UserId="-1" here user is people picker field and value that i am passing to it is i:0#.w|globaltestsomeuser but its not accepting the value and bad request error .Since I am creating new user I pass UserId as a negative value but that's also not working ..

– Sunil Bhuyar
Mar 7 at 7:51














Might be duplicate of this question

– Steve T
Mar 7 at 19:09





Might be duplicate of this question

– Steve T
Mar 7 at 19:09













It's is but don't have solution yet

– Sunil Bhuyar
Mar 7 at 19:12





It's is but don't have solution yet

– Sunil Bhuyar
Mar 7 at 19:12












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55038264%2fcreating-new-users-to-sharepoint-list%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55038264%2fcreating-new-users-to-sharepoint-list%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

AWS Lex not identifying response if by a variable The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) The Ask Question Wizard is Live! Data science time! April 2019 and salary with experienceEnforcing custom enumeration in AWS LEX for slot valuesHow to give response based on user response in Amazon Lex?Intercepting AWS Lambda Response to a AWS Lex QueryLex chat bot error: Reached second execution of fulfillment lambda on the same utteranceamazon lex showing invalid responseLambda response send back to Lex slot?Response card in Amazon lexAmazon Lex - Lambda response return HTML to botHow can I solve 424 (Failed Dependency) (python) obtained from Amazon lex?

Алба-Юлія

Захаров Федір Захарович