mirror of
https://github.com/bitwarden/server
synced 2026-01-14 06:23:46 +00:00
* Mock out provider models and service * Implement CreateAsync, CompleteSetupAsync, UpdateAsync, InviteUserAsync and ResendInvitesAsync * Implement AcceptUserAsync and ConfirmUsersAsync * Implement SaveUserAsync and DeleteUserAsync * Add email templates * Add admin operations for providers * Fix mail template names * Rename roles * Verify provider has provideradmin * Add self hosted check to admin controller * Resolve review comments * Update sql queries * Change create provider to use email instead of userId
16 lines
296 B
Transact-SQL
16 lines
296 B
Transact-SQL
CREATE PROCEDURE [dbo].[ProviderUser_ReadByProviderId]
|
|
@ProviderId UNIQUEIDENTIFIER,
|
|
@Type TINYINT
|
|
AS
|
|
BEGIN
|
|
SET NOCOUNT ON
|
|
|
|
SELECT
|
|
*
|
|
FROM
|
|
[dbo].[ProviderUserView]
|
|
WHERE
|
|
[ProviderId] = @ProviderId
|
|
AND [Type] = COALESCE(@Type, [Type])
|
|
END
|