[#boost-urls-static_url-set_encoded_password-01]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/static_url.adoc[static&lowbar;url]::set&lowbar;encoded&lowbar;password
:relfileprefix: ../../../
:mrdocs:


== Synopsis


Declared in `&lt;https://www.github.com/boostorg/url/blob/develop/include/boost/url/url_base.hpp#L821[boost&sol;url&sol;url&lowbar;base&period;hpp]&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:boost/urls/static_url.adoc[static&lowbar;url]&
xref:boost/urls/static_url/set_encoded_password-09.adoc[set&lowbar;encoded&lowbar;password](xref:boost/urls/pct_string_view.adoc[pct&lowbar;string&lowbar;view] s);
----

[.small]#xref:boost/urls/static_url/set_encoded_password-09.adoc[_» more..._]#

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:boost/urls/url_base.adoc[url&lowbar;base]&
xref:boost/urls/url_base/set_encoded_password.adoc[set&lowbar;encoded&lowbar;password](xref:boost/urls/pct_string_view.adoc[pct&lowbar;string&lowbar;view] s);
----

[.small]#xref:boost/urls/url_base/set_encoded_password.adoc[_» more..._]#

== Exceptions


|===
| Name | Thrown on

| `system&lowbar;error`
| `s` contains an invalid percent&hyphen;encoding&period;


|===

== Parameters


|===
| Name | Description

| *s*
| The string to set&period; This string may        contain any characters, including nulls&period;


|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
