Click or drag to resize

IPrivacyEnforcementServiceApplyTData Method (TData, IPrincipal)

Applies the privacy policies attached to the provided data such that a disclosure to the provided principal would not compromise patient privacy.

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

Parameters

data
Type: TData
The data which is about to be disclosed
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(``0,System.Security.Principal.IPrincipal)"]

Return Value

Type: TData
The data which will actually be disclosed
Remarks
Implementers are expected to consider the policies currently applied to data and take appropriate actions for those policies given the record will be disclosed to principal
See Also