ServiceAuthorizationManager::CheckAccess Method (OperationContext^)
Checks authorization for the given operation context.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- operationContext
-
Type:
System.ServiceModel::OperationContext^
The OperationContext.
Return Value
Type: System::Booleantrue if access is granted; otherwise; otherwise false. The default is true.
In general, applications should override CheckAccessCore instead of this method.
Override CheckAccess if the application associates or introduces a different set of policies for the resulting ServiceSecurityContext or provide a different policy evaluation (chaining) model.
This method is responsible for calling CheckAccessCore.
Available since 3.0