<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Extract ID of user on workflow 2013</title><link>https://www.infopathdev.com:443/forums/thread/120706.aspx</link><pubDate>Fri, 29 Mar 2019 23:45:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120706</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120706.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=120706</wfw:commentRss><description>This might help - it is a post on how to read JSON which is what is being returned from your web service call: https://sharepoint.stackexchange.com/questions/137890/how-to-read-json-output-in-sharepoint-designer-workflow</description></item><item><title>Extract ID of user on workflow 2013</title><link>https://www.infopathdev.com:443/forums/thread/120703.aspx</link><pubDate>Fri, 29 Mar 2019 16:56:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120703</guid><dc:creator>dan508</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120703.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=120703</wfw:commentRss><description>Hi all. I&amp;#39;m almost there, but I need assistance on this last bit. I&amp;#39;m running the following on the workflow to putt the details in for a certain user:  _/api/web/siteusers$filter=Title%20%27[%Variable:Employee Name%]%27.
I then call the http service using this and I get the following results:
{&amp;quot;odata.metadata&amp;quot;:&amp;quot;https:\/\/instarnet.instarmac.co.uk\/hr\/_api\/$metadata#SP.ApiData.Users1&amp;quot;,&amp;quot;value&amp;quot;:[{&amp;quot;odata.type&amp;quot;:&amp;quot;SP.User&amp;quot;,&amp;quot;odata.id&amp;quot;:&amp;quot;https:\/\/instarnet.instarmac.co.uk\/hr\/_api\/Web\/GetUserById(138)&amp;quot;,&amp;quot;odata.editLink&amp;quot;:&amp;quot;Web\/GetUserById(138)&amp;quot;,&amp;quot;Id&amp;quot;:138,&amp;quot;IsHiddenInUI&amp;quot;:false,&amp;quot;LoginName&amp;quot;:&amp;quot;i:0#.w|trinity\\danielh&amp;quot;,&amp;quot;Title&amp;quot;:&amp;quot;Daniel Harris&amp;quot;,&amp;quot;PrincipalType&amp;quot;:1,&amp;quot;Email&amp;quot;:&amp;quot;danielh@instarmac.co.uk&amp;quot;,&amp;quot;IsShareByEmailGuestUser&amp;quot;:false,&amp;quot;IsSiteAdmin&amp;quot;:false,&amp;quot;UserId&amp;quot;:{&amp;quot;NameId&amp;quot;:&amp;quot;s-1-5-21-1409082233-1644491937-725345543-4898&amp;quot;,&amp;quot;NameIdIssuer&amp;quot;:&amp;quot;urn:office:idp:activedirectory&amp;quot;}},{&amp;quot;odata.type&amp;quot;:&amp;quot;SP.User&amp;quot;,&amp;quot;odata.id&amp;quot;:&amp;quot;https:\/\/instarnet.instarmac.co.uk\/hr\/_api\/Web\/GetUserById(3)&amp;quot;,&amp;quot;odata.editLink&amp;quot;:&amp;quot;Web\/GetUserById(3)&amp;quot;,&amp;quot;Id&amp;quot;:3,&amp;quot;IsHiddenInUI&amp;quot;:false,&amp;quot;LoginName&amp;quot;:&amp;quot;TRINITY\\danielh&amp;quot;,&amp;quot;Title&amp;quot;:&amp;quot;Daniel Harris&amp;quot;,&amp;quot;PrincipalType&amp;quot;:1,&amp;quot;Email&amp;quot;:&amp;quot;danielh@instarmac.co.uk&amp;quot;,&amp;quot;IsShareByEmailGuestUser&amp;quot;:false,&amp;quot;IsSiteAdmin&amp;quot;:false,&amp;quot;UserId&amp;quot;:{&amp;quot;NameId&amp;quot;:&amp;quot;S-1-5-21-1409082233-1644491937-725345543-4898&amp;quot;,&amp;quot;NameIdIssuer&amp;quot;:&amp;quot;urn:office:idp:activedirectory&amp;quot;}}]}


How Can I extract the user ID only? (138) I will then use this workflow to add an explicit permission for the user against an item.

Thanks,
Dan</description></item></channel></rss>