Is it possible to put S2Member/wordpress user ID into link/URL

I’d like to create a link on a page in our s2member wp site that dynamically includes the user ID of the user logged in and clicking the link. Is this possible?

For example:

http://www.example.com/page?someparameter=[userID]

When a user with ID 1234 clicks on the link, they would be taken to the URL: http://www.example.com/page?someparameter=1234

Possible? If not, is there a way to create a custom field on all our users’ profiles that we could give them a unique ID and then use that the same way in the link described above?

Thanks so much for any help in advance!!

Means, to get the user’s ID dynamically, and to show them that URL? Please explain more details about “the environment”, where you need that URL. Also, how you will use it? Did you have code to handle it?

Id like to have the URL take them to a page in another site and use their userid as a paramter in that site. www.othersite.com?id=[userid] The userid will be a parameter in a form on that web page.

Means, you have a form at another site, where user must put the ID of your site? And that form must be submitted to your site or to other one? Still need lot of details, to be possible to answer.

Users know their usernames, usually, not sure they will know their IDs… But maybe you show them, somehow?

I’d also like to do this… any idea