Skip to content
  • lassoan's avatar
    ENH: User information can be saved to application settings · 6b1f058d
    lassoan authored
    
    
    User information can be accessed through application logic:
    
        userInfo = slicer.app.applicationLogic().GetUserInformation()
    
    If the userInfo object is changed, the updated values are automatically written into Slicer.ini.
    
        userInfo.SetName("John Doe")
    
    Currently, validation is only performed for email address, just to illustrate how validation works.
    
       userInfo.SetEmail("invalid email")
       userInfo.SetEmail("valid.email@somewhere.com")
    
    User information can be edited in application settings (User panel).
    
    Co-Authored-By: default avatarChristian Herz <christianherz1985@googlemail.com>
    
    git-svn-id: http://svn.slicer.org/Slicer4/trunk@27142 3bd1e089-480b-0410-8dfb-8563597acbee
    6b1f058d