Click or drag to resize

IPrivacyEnforcementServiceApplyTData Method (IEnumerableTData, IPrincipal)

Apply the policies on any result in data such that patient privacy of any returned record would not compromise patient privacy.

Namespace:  SanteDB.Core.Security
Assembly:  SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 2.2.1
Syntax
IEnumerable<TData> Apply<TData>(
	IEnumerable<TData> data,
	IPrincipal principal
)
where TData : IdentifiedData

Parameters

data
Type: System.Collections.GenericIEnumerableTData
The results which are about to be disclosed to principal
principal
Type: System.Security.PrincipalIPrincipal
The security principal to which the data is being disclosed

Type Parameters

TData

[Missing <typeparam name="TData"/> documentation for "M:SanteDB.Core.Security.IPrivacyEnforcementService.Apply``1(System.Collections.Generic.IEnumerable{``0},System.Security.Principal.IPrincipal)"]

Return Value

Type: IEnumerableTData
The data which will actually be disclosed
See Also