this[Int32]:IUser

Calls a user based on the Id.

Return type: Onion.Client.IUser

Parameter

userIdentity

Type: System.Int32

This parameter is the Id of the user searched for.

If no user with the Id is found, then a UserNotExistsException is triggered.