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 Mindset, 04-21-2026, 06:46 AM
          0 responses
          91 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          137 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by M4ndoo, 04-19-2026, 05:54 PM
          0 responses
          68 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by cmoran13, 04-16-2026, 01:02 PM
          0 responses
          121 views
          0 likes
          Last Post cmoran13  
          Started by PaulMohn, 04-10-2026, 11:11 AM
          0 responses
          72 views
          0 likes
          Last Post PaulMohn  
          Working...
          X