servicestack userauthid is type of string but it actually is int

91 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 answers

2
mythz 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.