GetUserProviderKey as A ()
GetUserProviderKey as A (UserName as C)
Optional. Retrieve the provider key for a user. If no user name is specified then the current user will be used.
- resultAny Type
Returns the provider defined key for a user.
Gets the provider defined key for a user.
Context.Security.GetuserProviderKey() gets the provider defined key for a user. Check Context.Security.CallResult.Success before using the return value. The provider key for a user is defined by the underlying security store. It can be used with Context.Security.GetUser to get the user's name. When used with Context.Security.GetUser the value must be of the same type as returned from this method.