cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Not applicable

How to retrieve user login name using user email id in Nintex workflow?

Jump to solution

How to retrieve user login name using user email id in Nintex workflow?

Tags (1)
0 Kudos
Reply
5 Replies
Not applicable

Re: How to retrieve user login name using user email id in Nintex workflow?

Jump to solution

I suspect you need to look at the Call Web Service action, pointing at the user profile service on the server. I haven't actually done this myself, so i'm afraid I don't have a working example, but it might give you a place to start looking...

Reply
Not applicable

Re: How to retrieve user login name using user email id in Nintex workflow?

Jump to solution

You can use the Call Web Service action, in conjunction with the SharePoint REST API, to retrieve information about a site user given a user's email address. The SharePoint User resource (described at https://msdn.microsoft.com/en-us/library/office/dn531432(v=office.15).aspx ) details how to retrieve a user by email address, using the GetByEmail method.

For example, to get a user by email address, call the following REST method, replacing {{Endpoint}} with the SharePoint site collection or site from which to get the user and user%40domain.com with the HTTP-encoded email address of the user.
{{Endpoint}}/_api/web/siteusers/getbyemail(@v)?@v='user%40domain.com'

The SharePoint REST API docs provide several examples that allow you to get user information by login name, user ID, email address, and so on.

View solution in original post

0 Kudos
Reply
dan_stoll
Nintex Newbie

Re: How to retrieve user login name using user email id in Nintex workflow?

Jump to solution

Hey Balaji Sampat​, do you mean you are trying to get the DOMAIN\USERNAME  ?  and you have the user.name@domain.com

Reply
Not applicable

Re: How to retrieve user login name using user email id in Nintex workflow?

Jump to solution

right Dan

0 Kudos
Reply
inimri
Nintex Newbie

Re: How to retrieve user login name using user email id in Nintex workflow?

Jump to solution

try using set variable action

set: account name variable

equals: user profiles

source: account name as login name

when account name

equals: workflow data - the email address saved in a variable

set variable.png

hope this helps

Reply