Scope informs the property access classes about the planned usage of the token
Namespace: DotNetNuke.Services.TokensAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public enum Scope |
Visual Basic |
---|
Public Enumeration Scope |
Members
Member name | Value | Description | |
---|---|---|---|
NoSettings | 0 | Only access to Date and Time | |
Configuration | 1 | Tokens for Host, Portal, Tab (, Module), user name | |
DefaultSettings | 2 | Configuration, Current User data and user data allowed for registered members | |
SystemMessages | 3 | System notifications to users and adminstrators | |
Debug | 4 | 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.