Property access, initially provided for TokenReplace
Namespace: DotNetNuke.Entities.UsersAssembly: 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.