-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Description
In Identity, sometimes all we have is a UserId
or UserName
only, but querying for as User with those already requires to know the according PartitionKey
. A generic, fast and convenient way to get a PartitionKey
from either a UserId
or a UserName
, when the PartitionKey
can really be anything, needs to be figured out (just for example: when creating a user with a PartitionKey
, store a UserId
-UserName
-PartitionKey
mapping in DocumentDb).