示例#1
0
        /// <summary>
        /// Creates the target user.
        /// </summary>
        public static IdentityResult Create_Target_User()
        {
            ProfileService service = new ProfileService();

            return service.CreateUserProfile(new Profile
            {
                UserName = Actor.TARGET_USER,
                Email = Actor.TARGET_USER + "@notset.com",
                FirstName = "Jerry",
                LastName = "Mouse",
                Locations = "Pasadena, CA, USA",
                ProfileStyle = ProfileStyle.GetDefault()
            });
        }
示例#2
0
        /// <summary>
        /// Creates the authenticated user.
        /// </summary>
        public static IdentityResult Create_Auth_User()
        {
            ProfileService service = new ProfileService();

            return service.CreateUserProfile(new Profile
            {
                UserName = Actor.AUTH_USER,
                Email = Actor.AUTH_USER + "@notset.com",
                FirstName = "Tom",
                LastName = "Cat",
                Locations = "San Gabriel, CA, USA",
                ProfileStyle = ProfileStyle.GetDefault()
            });
        }