@using BTCPayServer.Abstractions.Models @using BTCPayServer.Services.Stores @using BTCPayServer.Client @using Microsoft.AspNetCore.Mvc.TagHelpers @model StoreUsersViewModel @inject StoreRepository StoreRepository @{ var storeId = Context.GetStoreData().Id; var roles = new SelectList( await StoreRepository.GetStoreRoles(storeId), nameof(StoreRepository.StoreRole.Id), nameof(StoreRepository.StoreRole.Role), Model.Role); ViewData.SetActivePage(StoreNavPages.Users, "Store Users", storeId); } @section PageHeadContent { }

@ViewData["Title"]

Give other registered BTCPay Server users access to your store. See the roles for granted permissions.

@if (!ViewContext.ModelState.IsValid) {
}
@foreach (var user in Model.Users) { }
Email Name Role Actions
@user.Email @user.Name @user.Role
@section PageFootContent { }