Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

SID to AD object name conversation.

$
0
0

Hi All,

I have few SID’S in my table with resource allocation, example:-


Resource

SID

Ad-Object

Conf-room1

S-1-5-21-2620262765-442730090-2808145922-1207

 

Conf-room2

S-1-5-21-2620262765-442730090-2808145922-1151

 

 

I want to convert SID to AD object name (such as domain1\user1 or domain1\group1).

Just want to if this is possible via SQL (version 2008/2012) ?

Regards

Pradeep


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>