Represents the current user context.
Name | Description | |
---|---|---|
UserContext(Inedo.Extensibility.UserDirectories.IUserDirectoryUser user) |
Initializes a new instance of the UserContext class |
Name | Description | |
---|---|---|
Current |
Gets the current instance. |
|
CurrentTaskChecker |
Gets the underlying ITaskChecker. |
|
CurrentUserDirectory |
Gets the current user directory. |
|
IsAvailable |
Gets a value indicating whether a user is currently in context. |
|
UserInfo |
Gets information about the user currently in context. |
Name | Description | |
---|---|---|
CanPerformAnyTask |
Determines the current user can perform any tasks |
|
CanPerformTask(ScopedTask& task) | ||
InvalidateCache |
Clears any cached privileges. |
|
ValidatePrivileges(ScopedTask& task) |