CerroTorre LogoLogoEnglish translationLink zur SitemapLink zum Impressum

Link zu SelfADSI Home Link zur Linkliste Link zu FAQs
SelfADSI Home

SelfADSI - The LDAP / ADSI Scripting Tutorial
Attributes for Exchange 5.5 Mailboxes :  Name

 
Vorheriges Kapitel   Gesamtliste Mailbox Attribute   Nächstes Kapitel

This no real LDAP attribute, it is rather an interface property of the ADSI object representing the mailbox recipient. This 'attribute'

has nothing to do with the LDAP server - it is provided by the ADSI interface. Since this is no real LDAP attribute, you cannot use ADSPath in any LDAP filter!

 

The string contained in the Name property represents the relative dstinguished name of the object, including the specifier 'cn='. You can also access the pure relative name with the attribute rdn.

Exchange55-Icon Name

 

ADSI item Name
Data type ADSI Interface Property -> String
Multivalue (Array) No
Interface Documentation Microsoft - MSDN

 

 

In this case, you have to distinguish between reading the attribute variable from the object property cache, and displaying the Name property which is a member of the interface-object in ADSI. The two alternatives lead to different results:

 

 

data = postfach.Get("name")
WScript.Echo data


data = postfach.Name
WScript.Echo data

 

In the first case, you get the displayname (if this attribute exists and was set for the object). In the second case the Relative Distinguished Name of the mailbox together with a leading 'cn=' is returned. You find additional information about this matter in the description of the attribute name.



back to mailbox tab


back to attribute list


back to SelfADSI home

Sprich Freund, und tritt ein...