PrincipalExtensions..::..GetPropertyValue Method

Gets the property value.

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

Syntax


public static Object GetPropertyValue(
	Principal principal,
	string propertyName
)
Public Shared Function GetPropertyValue ( _
	principal As Principal, _
	propertyName As String _
) As Object
public:
static Object^ GetPropertyValue(
	Principal^ principal, 
	String^ propertyName
)

Parameters

principal
Type: Principal
The principal.
propertyName
Type: String
Name of the property.

Return Value

System.Object.