Roman
Roman

Reputation: 643

servicestack userauthid is type of string but it actually is int

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

Upvotes: 1

Views: 90

Answers (1)

mythz
mythz

Reputation: 143369

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.

Upvotes: 1

Related Questions