예제 #1
0
		/// <summary>
		/// Constructor based on User ID
		/// </summary>
		/// <param name="userID">User ID</param>
		public SiteIdentity( int userID )
		{
			User user = new User(userID);

			this.userID = user.UserID;
			this.fullName = user.FullName;
			this.email = user.Email;
			this.password = user.Password;
		}
예제 #2
0
		/// <summary>
		/// Constructor based on email
		/// </summary>
		/// <param name="email">Email</param>
		public SiteIdentity( string email )
		{
			User user = new User(email);

			this.userID = user.UserID;
			this.fullName = user.FullName;
			this.email = user.Email;
			this.password = user.Password;
		}