PrincipalExtensions..::..GetAsDirectoryEntry Method

Gets as directory entry.

Namespace:  MichaelBrandonMorris.Extensions.PrincipalExtensions
Assembly:  MichaelBrandonMorris.Extensions.PrincipalExtensions (in MichaelBrandonMorris.Extensions.PrincipalExtensions.dll)

Syntax


public static DirectoryEntry GetAsDirectoryEntry(
	Principal principal
)
Public Shared Function GetAsDirectoryEntry ( _
	principal As Principal _
) As DirectoryEntry
public:
static DirectoryEntry^ GetAsDirectoryEntry(
	Principal^ principal
)

Parameters

principal
Type: Principal
The principal.

Return Value

DirectoryEntry.