Ejemplo n.º 1
0
 /// <summary>
 /// Wrapper to cache the membership username in the request cache
 /// </summary>
 /// <param name="key">
 /// The key.
 /// </param>
 /// <returns>
 /// The <see cref="string"/>.
 /// </returns>
 protected string MembershipUserName(Guid key)
 {
     return((string)Cache.RequestCache.GetCacheItem(CacheKeys.CustomerMembershipUserName(key), this.GetMembershipProviderUserName));
 }