Class UserContextExtensions
- Namespace
- Dynamicweb.Security.User
Management
- Assembly
- Dynamicweb.Core.dll
Provides extension methods for User
- Inheritance
-
User
Context Extensions
- Inherited Members
Methods
GetRequiredUser(UserContext)
Retrieves the authenticated user from the specified User
Parameters
userContext
UserContext The user context from which to retrieve the user.
Returns
Exceptions
- Argument
Null Exception Thrown if
userContext
is null.- User
Context Exception Thrown if the user is not authenticated.