예제 #1
0
 /// <summary>
 /// Instantiate from an IIdentity.
 /// </summary>
 /// <param name="id">Identity to copy for this profile.</param>
 public UserProfile(IIdentity id)
 {
     Principal = new UserPrincipal(id);
 }
예제 #2
0
 /// <summary>
 /// Instantiate a default profile.
 /// </summary>
 public UserProfile()
 {
     Principal = new UserPrincipal(); // FIXME: Spring?
 }