---
title: ISecurityOverrideService
summary: API reference for ISecurityOverrideService.
status: draft
owner: SAIF Doc Gen
last_reviewed: 2026-09-24
library: SAIF.SAIFCode.Core
reference_type: package
---

# ISecurityOverrideService

`ISecurityOverrideService` declares a security-related service contract in the Claims / SecurityOverrides area. It is a data carrier/contract only; any authorization logic is implemented outside this library, most likely in SAIF.Services*.

## Purpose
- Declares the service operations consumed by SAIF.Services implementations in the Claims / SecurityOverrides area*.

## Context
- Namespace: `SAIF.Core.Contracts.Claims.SecurityOverrides`
- Kind: Interface
- Assembly/package: `SAIF.Core` (NuGet package `SAIF.SAIFCode.Core`)

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| `GetSecurityOverrideById` | `SecurityOverride GetSecurityOverrideById(long id)` | Returns security override by id, given `id`*. |
| `CreateOverride` | `SecurityOverride CreateOverride(SecurityOverrideEdit securityOverrideEdit, IMessageContainer messages)` | Creates override, given `securityOverrideEdit`, `messages`*. |
| `DeleteOverride` | `bool DeleteOverride(long id, IMessageContainer messages)` | Deletes override, given `id`, `messages`*. |
| `IsValidUserId` | `bool IsValidUserId(string userId)` | Indicates whether valid user ID applies to this ISecurityOverrideService*. |

> **Note:** Statements marked with `*` were inferred from code structure, naming
> conventions, or contextual evidence where direct confirmation was not available
> in source artifacts. Statements marked with `**` could not be confirmed; treat
> as unknown until verified.

## Sources
- Core/SAIF.Core/Contracts/Claims/SecurityOverrides/ISecurityOverrideService.cs
