Property access, initially provided for TokenReplace

Namespace: DotNetNuke.Entities.Users
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public string GetProperty(
	string propertyName,
	string format,
	CultureInfo formatProvider,
	UserInfo accessingUser,
	Scope currentScope,
	ref bool propertyNotFound
)
Visual Basic
Public Function GetProperty ( 
	propertyName As String,
	format As String,
	formatProvider As CultureInfo,
	accessingUser As UserInfo,
	currentScope As Scope,
	ByRef propertyNotFound As Boolean
) As String

Parameters

propertyName
Type: System..::..String
Name of the Property
format
Type: System..::..String
format string
formatProvider
Type: System.Globalization..::..CultureInfo
format provider for numbers, dates, currencies
accessingUser
Type: DotNetNuke.Entities.Users..::..UserInfo
userinfo of the user, who queries the data (used to determine permissions)
currentScope
Type: DotNetNuke.Services.Tokens..::..Scope
requested maximum access level, might be restricted due to user level
propertyNotFound
Type: System..::..Boolean%
out: flag, if property could be retrieved.

Return Value

current value of the property for this userinfo object

Implements

IPropertyAccess..::..GetProperty(String, String, CultureInfo, UserInfo, Scope, Boolean%)

See Also