Sitecore 5.1.1 API

Context.ContextData.IsAdministrator Property

Gets a value that indicates if the current user is an administrator.

[Visual Basic]
Public ReadOnly Property IsAdministrator As Boolean
[C#]
public bool IsAdministrator {get;}

Remarks

If this property is set, all privileges are granted.

See Also

Context.ContextData Class | Sitecore Namespace