How can i get Serenity.Authorization.UserId in *Dialog.ts
as of now i'm getting DisplayName and Username but i need UserId
@vinaykulkarni89 is userId column Declared Hidden() or Visible(false) ?
In UserForm add
[Hidden]
public Int32 UserId { get; set; }
Compile, Transform all T4 template and you get in dialog.ts
@Estrusco i want the UserId in NameSpace Serenity.Authorization, in *Dialog.ts
currently i'm getting only Username, DisplayName and HasPermission
@vinaykulkarni89 Add UserId in ScriptUserDefinition.cs and UserEndpoint.cs
Best Regards
@edson thankyou, it helped me a lot
Most helpful comment
@vinaykulkarni89 Add UserId in ScriptUserDefinition.cs and UserEndpoint.cs
Best Regards