.NET API Reference for Oracle Entitlements Server 11.1.2
E27727-01
Set the resource and action for IPepRequest. The input resource or action should be string object. The string should be combination of application name, resource type and resource name. The action object only contains the action for example "read" or "write"

Namespace: Oes.Pep.Api
Assembly: OES-PEP (in OES-PEP.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
void SetResourceAction(
	Object resource,
	Object action
)

Parameters

resource
Type: System..::..Object
any resource object string ex: "myapp/computer/laptop/mybox"
action
Type: System..::..Object
any action object either string ex: actio nmae "read or ResourceAction object"

Exceptions

ExceptionCondition
Oes.Pep.Api..::..PepException Throws the PepException, if passed resource string is not valid or null.

See Also