Skip to main content
1-Visitor
December 6, 2016
Solved

AssignNewPassword() needs Security Permissions

  • December 6, 2016
  • 1 reply
  • 1674 views

Hi All,

I am wanting to assign a new password programmatically (after a User has been created programmatically in the same service).

I have been able to implement this and after testing this works.

However I can only test this as an Administrator User. When testing this as a "Standard" User, who has no ThingWorx Administrator Permissions, on a Mashup login form I have created, the error I get states that this Function can only be performed by an Administrator or Security Administrator, is there a workaround for this so that I can give permissions to "Standard" Users to be able to Assign New Passwords for Users they have Visibility and Runtime Permissions for?

Many Thanks

Ashley

Best answer by ttielebein

I would use the SecurityAdministratorsGroup for the function described here. It is a severely limited administrative group. Read more in the Help Center. There would be no harm in adding your "standard" users to this group, really.

1 reply

5-Regular Member
December 8, 2016

I would use the SecurityAdministratorsGroup for the function described here. It is a severely limited administrative group. Read more in the Help Center. There would be no harm in adding your "standard" users to this group, really.

ashleyg1-VisitorAuthor
1-Visitor
December 8, 2016

Many thanks for your input Tori, this is most helpful!

Thanks

Ashley

5-Regular Member
December 9, 2016

Any time!