DsPkiContainerGetEntryPropertyT Method

Gets a property from an Active Directory object.

Definition

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

Parameters

entry  DirectoryEntry
A directory entry object. If this parameter is null, a BaseEntry object is used.
prop  String
Specifies the property name to query.

Type Parameters

T
Specifies the expected output type.

Return Value

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