Scope informs the property access classes about the planned usage of the token

Namespace: DotNetNuke.Services.Tokens
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public enum Scope
Visual Basic
Public Enumeration Scope

Members

Member nameValueDescription
NoSettings0 Only access to Date and Time
Configuration1 Tokens for Host, Portal, Tab (, Module), user name
DefaultSettings2 Configuration, Current User data and user data allowed for registered members
SystemMessages3 System notifications to users and adminstrators
Debug4 internal debugging, error messages, logs

Remarks

The result of a token replace operation depends on the current context, privacy settings and the current scope. The scope should be the lowest scope needed for the current purpose. The property access classes should evaluate and use the scope before returning a value.

See Also