GetUserIdFromUsername
Retrieves a Roblox user's ID by their username using Roblox's API. Returns the user ID as a string if found, otherwise returns null.
Usage:
Api.misc.GetUserIdFromUsername(string username);
Example:
string userId = Api.misc.GetUserIdFromUsername("ArcaneDevz"); // Gets the Roblox user ID for username "ArcaneDevz"
Console.WriteLine(userId != null ? $"User ID: {userId}" : "User not found");
Last updated