{"result":{"depiction_url":null,"edges":{"in_module":{"objects":[{"created":"2020-05-30T05:47:57Z","object_id":{"id":1434,"is_a":["text","documentation","reference","module"],"name":"doc_module_mod_admin_identity","title":"mod_admin_identity","uri":"https:\/\/zotonic.com\/id\/1434"},"seq":1000000}],"predicate":{"id":333,"is_a":["meta","predicate"],"name":"in_module","title":{"_type":"trans","tr":{"en":"In module"}},"uri":"https:\/\/zotonic.com\/id\/in_module"}},"references":{"objects":[{"created":"2020-05-30T05:47:57Z","object_id":{"id":1279,"is_a":["text","documentation"],"name":"doc_glossary","title":"Glossary","uri":"https:\/\/zotonic.com\/id\/1279"},"seq":1000000}],"predicate":{"id":332,"is_a":["meta","predicate"],"name":"references","title":{"_type":"trans","tr":{"en":"References"}},"uri":"https:\/\/zotonic.com\/id\/references"}},"subject":{"objects":[{"created":"2026-09-09T13:48:18Z","object_id":{"id":2555,"is_a":["categorization","keyword","keyword_information_type"],"name":"zotonic_topic_reference","title":"Reference","uri":"https:\/\/zotonic.com\/id\/2555"},"seq":1},{"created":"2026-09-09T13:48:18Z","object_id":{"id":2563,"is_a":["categorization","keyword","keyword_audience"],"name":"zotonic_topic_frontend_developer","title":"Frontend developer","uri":"https:\/\/zotonic.com\/id\/2563"},"seq":2},{"created":"2026-09-09T13:48:19Z","object_id":{"id":2589,"is_a":["categorization","keyword","keyword_domain"],"name":"zotonic_topic_identity_and_accounts","title":"Identity and accounts","uri":"https:\/\/zotonic.com\/id\/2589"},"seq":3},{"created":"2026-09-09T13:48:19Z","object_id":{"id":2624,"is_a":["categorization","keyword","keyword_architecture"],"name":"zotonic_topic_wire_action","title":"Wire action","uri":"https:\/\/zotonic.com\/id\/2624"},"seq":4},{"created":"2026-09-09T13:48:19Z","object_id":{"id":2638,"is_a":["categorization","keyword","keyword_task"],"name":"zotonic_topic_edit","title":"Edit","uri":"https:\/\/zotonic.com\/id\/2638"},"seq":5}],"predicate":{"id":308,"is_a":["meta","predicate"],"name":"subject","title":{"_type":"trans","tr":{"en":"Keyword"}},"uri":"http:\/\/purl.org\/dc\/elements\/1.1\/subject"}}},"id":2076,"is_a":["text","documentation","reference","template_action"],"links":[{"rel":"self","target":"https:\/\/zotonic.com\/.zotonic\/websub\/topic\/2076"},{"rel":"hub","target":"https:\/\/zotonic.com\/.zotonic\/websub"}],"medium":null,"medium_url":null,"name":"doc_template_action_action_dialog_set_username_password","page_url":{"en":"https:\/\/zotonic.com\/docs\/2076\/dialog_set_username_password","x-default":"https:\/\/zotonic.com\/docs\/2076\/dialog_set_username_password"},"preview_url":null,"resource":{"version":3327,"pivot_location_lat":null,"title":"dialog_set_username_password","is_authoritative":true,"body":"<p>Show a dialog for setting a username \/ password on the given <a href=\"\/id\/doc_glossary#term-resource\">resource<\/a> (which is\nusually a person).<\/p>\n<p>The required <code>id<\/code> argument accepts a resource id or name. <code>on_delete<\/code> can be\nrepeated to run actions after the account&#39;s username is removed. The built-in\nadministrator account cannot be changed with this action.<\/p>\n<p>The dialog can change only the username by leaving the password empty, or set\nboth username and password. An administrator may optionally send the welcome\nemail. Administrators and the user editing their own account are authorized to\nset credentials; username deletion has stricter safeguards.<\/p>\n<pre class=\"notranslate\"><code class=\"notranslate language-django\">{% button text=&quot;Set login&quot; action={dialog_set_username_password id=id on_delete={reload}} %}\n<\/code><\/pre>","slug":"dialog_set_username_password","is_protected":false,"visible_for":0,"tz":"UTC","language":["en"],"doc_source_hash":"4d266f00afd5dcefa49f1da8f84d1f37295a29da344666147f51963ce01728e1","is_featured":false,"content_group_id":{"id":2551,"is_a":["meta","content_group"],"name":"content_group_imported_docs","title":"Imported documentation","uri":"https:\/\/zotonic.com\/id\/content_group_imported_docs"},"category_id":{"id":326,"is_a":["meta","category"],"name":"template_action","title":"Actions","uri":"https:\/\/test.zotonic.com\/id\/326"},"doc_source_path":"apps\/zotonic_mod_admin_identity\/src\/actions\/action_admin_identity_dialog_set_username_password.erl","publication_start":"2023-01-30T19:24:03Z","github_url":"https:\/\/github.com\/zotonic\/zotonic\/blob\/master\/apps\/zotonic_mod_admin_identity\/src\/actions\/action_admin_identity_dialog_set_username_password.erl","pivot_location_lng":null,"doc_source_kind":"action","name":"doc_template_action_action_dialog_set_username_password","is_unfindable":false,"is_published":true,"pivot_geocode":null,"created":"2020-05-30T05:47:57Z","uri":null,"doc_status":"current","is_dependent":false,"erlang_app":"zotonic_mod_admin_identity","publication_end":"9999-06-01T00:00:00Z","modifier_id":{"id":1,"is_a":["person"],"name":"administrator","title":"Site Administrator","uri":"https:\/\/zotonic.com\/id\/1"},"privacy":0,"doc_source_commit":"66cb145eae7002b184e7d8c4c7bba5e53e8248e5\n","erlang_module":"action_admin_identity_dialog_set_username_password","creator_id":{"id":336,"is_a":["person","robot"],"name":"gitbot","title":"Git","uri":"https:\/\/zotonic.com\/id\/336"},"modified":"2026-10-02T12:40:40Z","title_slug":"dialog_set_username_password"},"uri":"https:\/\/zotonic.com\/id\/2076","uri_template":"https:\/\/zotonic.com\/id\/:id","websub":{"hub":"https:\/\/zotonic.com\/.zotonic\/websub","topic":"https:\/\/zotonic.com\/.zotonic\/websub\/topic\/2076"}},"status":"ok"}