servicestack userauthid is type of string but it actually is int

123 Views Asked by At

Is there any cases where IAuthSession.UserAuthId is something else than int or can I just safely assume it is always int?

1

There are 1 best solutions below

2
On BEST ANSWER

The Type of UserAuthId is dependent on the Auth Repository used, e.g. if you're using an OrmLiteAuthRepository it will always be an int.