Link to user profile or xencode to generate userid


Well-known member
I'm trying to create a custom link to a user profiles or to a profile card. The only things I've found generate the username with a link around it such as:

<xen:username user="$user" itemprop="name" rich="true" />
<xen:username user="$post" class="author" />

I'd also be happy with an xen code that just generates the users id

Is there a way to do this as of right now?

Edit took a stab in the dark and turned out to be right :D

<a href="{xen:link members, $user}"></a>