[#SRP_VBASE_get1_by_user]
= SRP&lowbar;VBASE&lowbar;get1&lowbar;by&lowbar;user
:mrdocs:

Look up an SRP user entry, synthesizing one from `seed&lowbar;key` when absent&period;

== Synopsis

Declared in `&lt;openssl&sol;srp&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
xref:SRP_user_pwd.adoc[SRP&lowbar;user&lowbar;pwd]*
SRP&lowbar;VBASE&lowbar;get1&lowbar;by&lowbar;user(
    xref:SRP_VBASE.adoc[SRP&lowbar;VBASE]* vb,
    char* username);
----

[WARNING]
====
https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged.
====
== Return Value

Newly allocated SRP&lowbar;user&lowbar;pwd on success (caller must free), or NULL on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *vb*
| Verifier database to search&period;
| *username*
| User name to look up&period;
|===


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