Identify Orphaned Users

  • I am using sql server 2005 and have orphaned db users.

    How to identify which are orphaned users and which are not?

    Much appreciate if i can get a quick response in this regard.

    Thanks

    Murali

  • USE THIS QUERY

    sp_change_users_login 'REPORT'

    Report: Lists the users, and their corresponding security identifiers (SID), that are in the current database, not linked to any login.

    user and login must be NULL, a zero-length string (‘‘), or not specified.

  • Cool, thx

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply