Developer forum

Forum » Development » VatRegNumber property in razor

VatRegNumber property in razor

Kasper Skov
Reply

How come AccessUserVatRegNumber property on an AccessUser isn't available unless its through Ecom:Order?

I need to pre-fill an input with the current users vat number

var CurrentUser = new Dynamicweb.Frontend.Extranet();

 

<input value="@CurrentUser.VatRegNumber" /> //Nothing, nada

 

How am I suppose to get a hold of that value?


Replies

 

You must be logged in to post in the forum