You are viewing limited content. For full access, please sign in.

Question

Question

value returning like" S-1-5-21-776561741-1202660629-725345543-16289" instead of the domine user name

SDK
asked on February 17, 2015

Please advise, any other for the below solution.

//I used below code to retrieve the Linked domain Accounts, but the value returning like" S-1-5-21-776561741-1202660629-725345543-16289" instead of the domine user name.

LFGroup case_drawing = db.GetTrusteeByName("CCB_Fullaccess");

LFLinkedDomainAccountCollection usernamewin = case_drawing.LinkedDomainAccounts;

foreach (string username in usernamewin)

{

}

 

Thanks in advance

1 0

Replies

replied on February 17, 2015 Show version history

I'm not very familiar with the LFLinkedDomainAccountCollection, but values like that are SIDs, a unique identifying number for the user. All Windows accounts have SIDs, though they are not frequently displayed to users.

One common reason you would see a SID instead of the domain\username is that the user has been deleted in active directory. You could try looking up the user in active directory to confirm that the account still exists and that it is correctly displaying the username in active directory.

1 0
replied on February 17, 2015

I verified, the user exits in the production. but even it retrieving the SIDs

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.