Home Forums SQL Server 2008 SQL Server Newbies The SELECT permission was denied on the object 'abc', database 'xyz', schema 'dbo' RE: The SELECT permission was denied on the object 'abc', database 'xyz', schema 'dbo'

  • Chris Harshman - Wednesday, August 23, 2017 8:00 PM

    EXEC xp_logininfo N'NTLAB\E15770','all';
    this should do that.  the user specified doesn't need to be directly created as a login or user in SQL Server, just have some access through an AD group
    https://docs.microsoft.com/en-us/sql/relational-databases/system-stored-procedures/xp-logininfo-transact-sql

    Hi Chris,
    It is not returning any result. Could you please advise