Re: Reading msexchMasterAccountSid
- From: "Henning Krause" <hkrause.no@xxxxxxxxxxxxxxxxx>
- Date: Thu, 5 Oct 2006 14:22:34 +0200
Hello,
this has nothing to do with Exchange at this point. It's Active Directory.
If the SID you are trying to resolve is from a different domain or so, the translation-process may fail. Is the failing SID a short one?
If you want to translate the SID on a specific computer, you can use the ResolvedIdentityReference from my InfiniTec.Security package on my website (www.infinitec.de). In the constructor, you can specify a remote computer which will do the translation.
Best regards,
Henning
"deaddingo" <taplin.steve@xxxxxxxxxxxxx> wrote in message news:1160028278.751605.187700@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Many thanks Henning for your response.
I have advanced considerably, thanks to your help, but get a
System.Security.Principal.IdentityNotMappedException error when I
attempt objSecurityIdentifier.Translate(GetType(NTAccount)).
I'm learning about Exchange security. Can you tell me what causes this
error?
TIA
DD
Henning Krause wrote:Hello,
that field contains a SecurityIdentifier (SID). In Text-form this is
something like S-1-5-xxxxxxxxx....
If you are working with .NET 2.0 you can wrap that text in a
SecurityIdentifier and call sid.Translate(typeof(NTAccount)) which translate
the SIDs to NT4 account names.
Best regards,
Henning Krause
"deaddingo" <taplin.steve@xxxxxxxxxxxxx> wrote in message
news:1159941231.437096.32300@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>I am developing a feed into a DotNet app using a csv file containing a
> list of 20,000 user accounts. Part of each row in this list contains
> the Exchange msexchMasterAccountSid, a 56 character string.
>
> Can anyone tell me how this is broken down into usable elements.
>
> TIA
>
> DD
>
.
- References:
- Reading msexchMasterAccountSid
- From: deaddingo
- Re: Reading msexchMasterAccountSid
- From: Henning Krause
- Re: Reading msexchMasterAccountSid
- From: deaddingo
- Reading msexchMasterAccountSid
- Prev by Date: Re: Reading msexchMasterAccountSid
- Next by Date: CDOEX: task-property "textdescription" (body text)
- Previous by thread: Re: Reading msexchMasterAccountSid
- Next by thread: Re: How to add forward EMAIL address to a recipient Exchange 2003?
- Index(es):
Relevant Pages
|