I was able to successfully implement Andrew's asp.net web service to complete the login process. But, for the sake of demonstration, I would like to create several users in the users.xml, and return a value unique for each one, by for example using the GetUser function in vb. I am not a vb programmer, and thus would appreciate any help in modifying the Service.vb to return a value from the user's profile after the user is validated. I know this is not a vb forum, just thought I might get lucky.
The Flex angle is as follows: if I can return a value from the user profile, in my case a location code, I can assign it to a global variable in the index.mxml. I will then call that variable in a widget, in this case, to input the value in a feature's definition expression, so that only the data that the user is authorized to see will appear in the layer on the map. I can do this now if I input the literal, i.e. public var myGlobalVar:String = "142";
The Web Service is attached, from Andrews' download. ValidateUser will only return boolean value.
Thanks,
Jim Faron