Click or drag to resize

DsPkiContainerGetEntryPropertyT Method

Gets a property from an Active Directory object.

Namespace:  SysadminsLV.PKI.Management.ActiveDirectory
Assembly:  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.4.0.0 (3.4.0.0)
Syntax
protected T[] GetEntryProperty<T>(
	DirectoryEntry entry,
	string prop
)
where T : class

Parameters

entry
Type: System.DirectoryServicesDirectoryEntry
A directory entry object. If this parameter is null, a BaseEntry object is used.
prop
Type: SystemString
Specifies the property name to query.

Type Parameters

T
Specifies the expected output type.

Return Value

Type: T
A collection of values of type speficies in the type parameter.
Remarks
If actual property value doesn't match requested type (specified in the type parameter), the value is ignored and empty array is returned.
See Also