sql server - Orphan users/application users -


how orphan user can application user @ same time?

if delete orphan user @ database level, how can affect access @ application level?

the concept of orphan user bit different have explained.

an orphan user in database user isn't mapped login. happens when move databases across servers or delete login without deleting users mapped login.

say on servera took backup of databasea has usera logina.

now restored backup on serverb has login logina. when restore database on serverb usera become orphan user , fix executing following command:

alter user [usera] login = [usera]; 

this map usera logina on serverb.and if not fix whether application or uses usera's credentials not able access database on serverb.


Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

order - Notification for user in user account opencart -