Method | Description | |
---|---|---|
ActiveDirectoryUtils ( |
Constructor
|
|
ComToIcfException ( System.DirectoryServices.DirectoryServicesCOMException originalException, String message ) : |
Converts a DirectoryServicesCOMException into more meaningful ICF exception (e.g. AlreadyExistsException).
|
|
ConvertADGUIDtoObjectGUID ( string uid ) : string | ||
ConvertUIDBytesToSearchString ( Byte guidBytes ) : String |
Converts a guid in byte array form to a string suitable for ldap search.
|
|
ConvertUIDToSearchString ( |
||
GetCnValueUnescaped ( String nameValue ) : String | ||
GetDomainControllerName ( |
||
GetNameAsCN ( String nameValue ) : String |
Returns the leaf value of a distinguished name
|
|
GetRelativeName ( |
||
GetSecureString ( String stringToSecure ) : |
||
NormalizeLdapString ( String ldapString ) : String |
Puts an ldap string into a normalilzed format
|
|
OtherComToIcfException ( System originalException, String message ) : |
Converts a System.Runtime.InteropServices.COMException into more meaningful ICF exception (e.g. AlreadyExistsException).
|
|
RandomStr ( ) : string |
Method | Description | |
---|---|---|
AddConnectorAttributeToADProperties ( |
||
ConvertBytesToADSpecialString ( string attribute, Byte bytes ) : String | ||
ConvertSIDBytesToGUIDString ( Byte sidBytes ) : String | ||
ConvertUIDBytesToGUIDString ( Byte guidBytes ) : String |
Converts a guid in byte array form to a string with the format >GUID = xxxxxxxxxxxxxxxxxxxxxxxxxxxxx< where the x's represent uppercase hexadecimal digits
|
|
GetADObjectClass ( |
Returns the AD ObjectClass associated with a particular Connector ObjectClass
|
|
GetADSchema ( ) : System.DirectoryServices.ActiveDirectory.ActiveDirectorySchema | ||
GetConnectorAttributeFromADEntry ( |
||
GetDirectoryEntryFromUid ( String serverName, |
Finds a DirectoryEntry by it's uid
|
|
GetDnFromPath ( string fullPath ) : string | ||
GetDomainController ( |
||
GetFullPath ( string provider, string serverName, string path ) : String |
Returns a path string in the format: provider://servernameIfSpecified/path
|
|
GetGCPath ( string serverName, string path ) : String |
Returns a path string in the format: GC://servernameIfSpecified/path
|
|
GetLDAPPath ( string serverName, string path ) : String |
Returns an ldap path in the form of: LDAP://servernameIfSpecified/path
|
|
GetLargeIntegerFromLong ( System.Int64 int64Value ) : LargeInteger | ||
GetLongFromLargeInteger ( LargeInteger largeInteger ) : ulong | ||
GetParentDn ( string childDn ) : string |
Gets the dn of the parent object of the object specified by childDn
|
|
GetSingleValue ( System.DirectoryServices.PropertyValueCollection pvc ) : Object |
Gets a single value from a propertyvaluecollection for a particular property name. Its an error if the property contains multiple values.
|
|
HandleNameAndContainerChange ( UpdateType type, System.DirectoryServices.DirectoryEntry directoryEntry, ICollection |
|
|
IsValidDn ( string dn ) : bool |
Determines whether dn is a valid distinguished name. A DN is valid if it can be processed by the AD API. This method does not test RFC 2253 compliance, but only basic syntactical check. |
|
UpdateADObject ( |
Updates an AD object (also called by create after object is created)
|
|
getADSPathname ( string provider, string serverName, string path ) : IADsPathname |
uses iadspathname to create paths in a standard way
|
public ActiveDirectoryUtils ( |
||
configuration | /// Configuration object for the connector. /// | |
return | System |
public static ComToIcfException ( System.DirectoryServices.DirectoryServicesCOMException originalException, String message ) : |
||
originalException | System.DirectoryServices.DirectoryServicesCOMException | |
message | String | |
return |
public static ConvertADGUIDtoObjectGUID ( string uid ) : string | ||
uid | string | |
return | string |
public static ConvertUIDBytesToSearchString ( Byte guidBytes ) : String | ||
guidBytes | Byte | |
return | String |
public static ConvertUIDToSearchString ( |
||
uid | ||
return | String |
public static GetCnValueUnescaped ( String nameValue ) : String | ||
nameValue | String | |
return | String |
public static GetDomainControllerName ( |
||
configuration | ||
return | string |
public static GetNameAsCN ( String nameValue ) : String | ||
nameValue | String | |
return | String |
public static GetRelativeName ( |
||
name | ||
return | String |
public static GetSecureString ( String stringToSecure ) : |
||
stringToSecure | String | |
return |
public static NormalizeLdapString ( String ldapString ) : String | ||
ldapString | String | |
return | String |
public static OtherComToIcfException ( System originalException, String message ) : |
||
originalException | System | |
message | String | |
return |