/// <summary>
 /// GetEncodedUserKey method implmentation
 /// </summary>
 internal static string GetEncodedUserKey(string upn)
 {
     EnsureService();
     return(RuntimeRepository.GetEncodedUserKey(Config, upn));
 }