get objectSid in ADSI with c++ code
-
Hi, i am not able to get objectSid from adsi .i able to get string attributes like cn,DN.. but hr = ADsGetObject(L"LDAP://CN=nitin n,CN=Users,DC=northwing,DC=Com", IID_IADs, (void**) &pADs ); pUsr->Get(L"objectSid ",&var) method not working for objectSid. please help me. Thanks
-
Hi, i am not able to get objectSid from adsi .i able to get string attributes like cn,DN.. but hr = ADsGetObject(L"LDAP://CN=nitin n,CN=Users,DC=northwing,DC=Com", IID_IADs, (void**) &pADs ); pUsr->Get(L"objectSid ",&var) method not working for objectSid. please help me. Thanks
venkatesh52867 wrote:
pUsr->Get(L"objectSid ",&var)
is it objectSid or just SID?
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
Never mind - my own stupidity is the source of every "problem" - Mixturecheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You
-
venkatesh52867 wrote:
pUsr->Get(L"objectSid ",&var)
is it objectSid or just SID?
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
Never mind - my own stupidity is the source of every "problem" - Mixturecheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You
it is objectSid.