Hi,
I'm developing a module in which I have a table where I store the UserID besides a value e.g.
UserID Field1
1 aaa
1 bbb
2 ccc
4 ddd
In my module I retrieve values from the table using the UserID e.g.
SELECT * FROM MyTable WHERE UserID = 1
Essentially I want to retrieve the same values irrespective of what instance of the module I'm using in a portal.
During testing I created two Portals called PortalA and PortalB and I created a user in each with the same registration details (i.e. the same username, firstname...email address etc.).
When I created an instance of my module in PortalA and PortalB and logged in using the credentials of this new user I was suprised to see that I saw the same values in both portals. For example, If I logged in to PortalA and added an entry I'd also see it when I logged into PortalB.
Furthermore, if I changed the name of the user in one portal it is reflected in the other.
I thought each portal and its users were independent of one another?
In DNN what is user uniqueness based on?
Is the UserID field the correct way to uniquely identify a user within a portal?
Thanks,
Norman