Skip to main content

Assign unique ID to "Guest" user

Comments

2 comments

  • Zack Robison
    An anonymous user will alway be anonymous, so you won't be able to get anything there.  It sounds like you are trying to set permissions without an account by substituting some UID for actual credentials... I don't recommend this. You'll need some form of credential for this and its better to have the user create their own than it is to try derriving credentials from data provided to the app about them.  There's no way for the app to know who is using a given client, so even if you were able to get a user's exact computer and user account info you have problems when that user is on another machine or if another user is on theirs.
    0
  • Nico Burgerhart
    What you can do is ask to enter user information when entering the first damage assesment.

     

    Create then an unique code (Guid.NewGuid) and store this with user information and damage assesment in a database.

     

    Return to the user a viewer url with an url parameter, something like <viewerurl>&runWorkflow=OpenAssessment&userid=edd8e7b8-5a1b-4861-8038-314bd5977742

     

    When the user uses this URL the next time he opens the viewer, you can use an OpenAssessment workflow to search and display information entered earlier, and you cal let the user add/modify assesment information.
    0

Please sign in to leave a comment.