PrincipalExtensions..::..GetPropertyValueAsString Method

Gets the property value as string.

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

Syntax


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

Parameters

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

Return Value

System.String.