Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Detect 'Username' from NinjaScript

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Detect 'Username' from NinjaScript

    Can we detect the 'Username' that people login to Ninja with? Presumably this is a unique name and would be better suited to licensing than the Machine ID.

    Thanks

    #2
    Hello bubblegum,

    Thank you for your post.

    I am not aware of any documented or supported method to obtain the username programmatically.

    This thread will remain open for any community members who may want to chime in.

    Comment


      #3
      bubblegum If you mean Windows Username, try this: string MyUsername = Environment.UserName;

      If you mean the NinjaTrader Account login username ... that's definitely a NinjaTrader question.

      Thanks.
      Last edited by jeronymite; 03-19-2024, 01:05 AM.
      Multi-Dimensional Managed Trading
      jeronymite
      NinjaTrader Ecosystem Vendor - Mizpah Software

      Comment


        #4
        How do you get the MachineID via NinjaScript?

        Comment


          #5
          Hello vjsworld,

          At this time, getting the MachineID through NinjaScript is not something that we want to share publicly on the forum.

          If you are looking to set up a licensing system, we suggest contacting info [at] ninjatraderecosystem [dot] com to learn more about the EcoSystem vendor program and the licensing system that comes with it.​

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          650 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          370 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          109 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          574 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          577 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X