Property Tag to AD attributes mapping. More...
#include "dcesrv_exchange_nsp.h"
Functions | |
static void | _map_proptag_to_unicode_ansi (uint32_t ulPropTag, uint32_t *pAnsiPropTag, uint32_t *pUniPropTag) |
/details Maps ulPropTag ot its PT_STRING8 and PT_UNICODE versions /param ulPropTag the proptag to map /param pAnsiPropTag pointer to the ansi version of the tag to return /param pUniPropTag pointer to the unicode version of the tag to return | |
_PUBLIC_ const char * | emsabp_property_get_attribute (uint32_t ulPropTag) |
_PUBLIC_ const char * | emsabp_property_get_ref_attr (uint32_t ulPropTag) |
_PUBLIC_ uint32_t | emsabp_property_get_ulPropTag (const char *attribute) |
_PUBLIC_ int | emsabp_property_is_ref (uint32_t ulPropTag) |
Variables | |
static const struct emsabp_property | emsabp_property [] |
Property Tag to AD attributes mapping.
|
inlinestatic |
/details Maps ulPropTag ot its PT_STRING8 and PT_UNICODE versions /param ulPropTag the proptag to map /param pAnsiPropTag pointer to the ansi version of the tag to return /param pUniPropTag pointer to the unicode version of the tag to return
/note When the function return, ulPropTag holds the PT_STRING8 version of the tag and uniPropTag the PT_UNICODE version. Note that the mapping is only going to work for string properties
Referenced by emsabp_property_get_attribute(), emsabp_property_get_ref_attr(), and emsabp_property_is_ref().
_PUBLIC_ const char * emsabp_property_get_attribute | ( | uint32_t | ulPropTag | ) |
Return the AD attribute name associated to a property tag
ulPropTag | the property tag to lookup |
References _map_proptag_to_unicode_ansi(), and emsabp_property.
Referenced by emsabp_query(), and emsabp_search().
_PUBLIC_ const char * emsabp_property_get_ref_attr | ( | uint32_t | ulPropTag | ) |
Returns the reference attr for a given attribute
ulPropTag | property tag to lookup |
References _map_proptag_to_unicode_ansi(), and emsabp_property.
Referenced by emsabp_query().
_PUBLIC_ uint32_t emsabp_property_get_ulPropTag | ( | const char * | attribute | ) |
Return the property tag associated to AD attribute name
attribute | the AD attribute name to lookup |
References emsabp_property.
_PUBLIC_ int emsabp_property_is_ref | ( | uint32_t | ulPropTag | ) |
Returns whether the given attribute's value references another AD record
ulPropTag | the property tag to lookup |
References _map_proptag_to_unicode_ansi(), and emsabp_property.
Referenced by emsabp_query().
|
static |
Referenced by emsabp_property_get_attribute(), emsabp_property_get_ref_attr(), emsabp_property_get_ulPropTag(), and emsabp_property_is_ref().
![]() ![]() ![]() |
This content is licensed under the Creative Commons Attribution ShareAlike License v. 3.0: http://creativecommons.org/licenses/by-sa/3.0/ |