Views:

Question:
Is it possible to update a users password using the .NET API?

Answer: 
By product design, it's not possible to change a user's password using the .NET API. Any password changes would need to be handled through User Management.

KBA applicable for both Cloud and On-premise Organizations.

Comments (1)
  • How to disable users in DW via API?

    Is it possible at all?

    i tried in this way:

    var dwConnection = ConnectionCreator.ToDwConnection(connection);
                        var org = dwConnection.Organizations[0];
                        var swUser = org.GetUsersFromUsersRelation().User.FirstOrDefault(u => u.Id == userId);
                        if (swUser == null)
                        {
                            throw new Exception(Resources.UserNotFound);
                        }
                        swUser.Active = false;
                        org.PostToUserInfoRelationForUser(swUser); 

    there are no errors - but unfortunately there is no result either :(