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 CarlTrading, 03-31-2026, 09:41 PM
          1 response
          43 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          20 views
          0 likes
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          30 views
          1 like
          Last Post CaptainJack  
          Started by CarlTrading, 03-30-2026, 11:51 AM
          0 responses
          48 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 03-30-2026, 11:48 AM
          0 responses
          38 views
          0 likes
          Last Post CarlTrading  
          Working...
          X