ProtoFlux:User From Username: Difference between revisions

From Resonite Wiki
add userfromusername node
 
m ProbablePrime moved page User From Username (ProtoFlux) to ProtoFlux:User From Username: Creating protoflux Namespace
 
(2 intermediate revisions by one other user not shown)
Line 14: Line 14:
|}}
|}}


This node returns a user object from a username.
This node returns a [[Type:User | user]] object from a username.


This will only work for users present in the session.
This will only work for [[Type:User | users]] present in the session.


== Inputs ==
== Inputs ==


=== Username ===
=== Username ([[Type:String|String]]) ===


The username of the user you need.
The username of the user you need.


=== IgnoreCase ===
=== IgnoreCase ([[Type:Bool|bool]])===


Ignore case. For instance, using <code>FrOoXiUs</code> would still match <code>Frooxius</code>.
Ignore case. For instance, using <code>FrOoXiUs</code> would still match <code>Frooxius</code>.


=== AllowPartialMatch ===
=== AllowPartialMatch ([[Type:Bool|bool]])===


Allow for partial matches. For instance, using <code>Froox</code> as an input would still match <code>Frooxius</code>.
Allow for partial matches. For instance, using <code>Froox</code> as an input would still match <code>Frooxius</code>.
Line 34: Line 34:
== Outputs ==
== Outputs ==


=== * ===
=== * ([[Type:User |User]]) ===


A [[Types:User | user]] object.
A [[Type:User|user]] object that satisfies this node's input requirements.


[[Category:ProtoFlux:Users]]
[[Category:ProtoFlux:Users]]

Latest revision as of 06:52, 20 January 2024

User From Username
Username
*
IgnoreCase
AllowPartialMatch
Users

This node returns a user object from a username.

This will only work for users present in the session.

Inputs

Username (String)

The username of the user you need.

IgnoreCase (bool)

Ignore case. For instance, using FrOoXiUs would still match Frooxius.

AllowPartialMatch (bool)

Allow for partial matches. For instance, using Froox as an input would still match Frooxius.

Outputs

* (User)

A user object that satisfies this node's input requirements.