ProtoFlux:User From Username: Difference between revisions

From Resonite Wiki
add userfromusername node
 
fix type links
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]]

Revision as of 18:53, 15 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 ([[Type:Bool|bool])

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

AllowPartialMatch ([[Type:Bool|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.