Example #1
0
        public void ResetUserPassword()
        {
            // Arrange
            var ssoAdminClient = new SsoAdminClient(_vc, _user, _password, new AcceptAllX509CertificateValidator());

            var expectedUserName = "******";
            var expectedPassword = "******";
            var updatePassword   = "******";
            var newUser          = ssoAdminClient.CreateLocalUser(
                expectedUserName,
                expectedPassword);

            // Act
            // Assert
            Assert.DoesNotThrow(() => {
                ssoAdminClient.ResetPersonUserPassword(newUser, updatePassword);
            });


            // Cleanup
            ssoAdminClient.DeleteLocalUser(
                newUser);
        }