Membership Issue .ApplicationName

Membership.ApplicationName is a static string.

My problem is that if I want to change this value to become a member of another application in the same database, this change is permanent, which means that the application name for the current site is now changed globally to this value.

In an ideal world, I could call Membership.GetUser($username, $ApplicationName), but such a function does not exist.

Can anyone suggest any ideas?

+3
source share
1 answer

.ApplicationName . MSDN , , , .

http://msdn.microsoft.com/en-us/library/system.web.security.membership.applicationname.aspx

( "" "" )

: 1) . 2) , , . , , .

+1

Source: https://habr.com/ru/post/1743964/


All Articles