Class UserListViewModelExtensions
- Namespace
- Dynamicweb.Frontend
- Assembly
- Dynamicweb.dll
public static class UserListViewModelExtensions
- Inheritance
-
UserListViewModelExtensions
- Inherited Members
Methods
GetCurrentGroupName(UserListViewModel)
Retrieves the name of the current user group based on the "GroupId" parameter in the current request context.
public static string GetCurrentGroupName(this UserListViewModel viewModel)
Parameters
viewModelUserListViewModelThe UserListViewModel instance for which to get the group name.
Returns
- string
The name of the user group if found; otherwise, an empty string.