Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Change the Properties.Settings.Default user

Change the Properties.Settings.Default user

Scheduled Pinned Locked Moved C#
tutorialquestionannouncement
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Christopher Stratmann
    wrote on last edited by
    #1

    I know how to change and update values stored within the Properties.Settings.Default that are user based. I know these values are stored under the Windows User Name that is currently logged in. Is there a way to change this so the user 123456 that is logged in can change change the values under user 654321? Chris

    S 1 Reply Last reply
    0
    • C Christopher Stratmann

      I know how to change and update values stored within the Properties.Settings.Default that are user based. I know these values are stored under the Windows User Name that is currently logged in. Is there a way to change this so the user 123456 that is logged in can change change the values under user 654321? Chris

      S Offline
      S Offline
      Skippums
      wrote on last edited by
      #2

      I seem to remember vaguely something about the difference between user settings and application settings. It sounds like you are attempting to use the latter. See this[^] article on application/user settings, and let me know if it is what you are looking for.

      Sounds like somebody's got a case of the Mondays -Jeff

      C 1 Reply Last reply
      0
      • S Skippums

        I seem to remember vaguely something about the difference between user settings and application settings. It sounds like you are attempting to use the latter. See this[^] article on application/user settings, and let me know if it is what you are looking for.

        Sounds like somebody's got a case of the Mondays -Jeff

        C Offline
        C Offline
        Christopher Stratmann
        wrote on last edited by
        #3

        This is want I would like to do..... The is 1 computer that about 10 different people use. There is a default user login to get to the windows desktop. From there they run my application and sign into my application using their IDs. I would like to create or change the Properties.Settings.Default to use for who logs into my application and NOT the default windows login.

        S 1 Reply Last reply
        0
        • C Christopher Stratmann

          This is want I would like to do..... The is 1 computer that about 10 different people use. There is a default user login to get to the windows desktop. From there they run my application and sign into my application using their IDs. I would like to create or change the Properties.Settings.Default to use for who logs into my application and NOT the default windows login.

          S Offline
          S Offline
          Skippums
          wrote on last edited by
          #4

          Well, given that definition, you only have two choices... 1. Use application settings, but have a different section for each application user 2. Create your own setting schema and implement that schema from scratch. As far as I know, you cannot change the user settings file to apply to your application user... it always uses the windows user. I would recommend the first option as it is easier (IMO), and simply log a different section for each user in the app settings. Hope this helps,

          Sounds like somebody's got a case of the Mondays -Jeff

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups