.NET API Reference for Oracle Entitlements Server 11.1.2
E27727-01
Assembly: OES-PEP (in OES-PEP.dll) Version: 1.0.0.0 (1.0.0.0)
E27727-01
Create a PepRequest using objects for subject, resource, action, environment and scope.
Namespace: Oes.Pep.ApiAssembly: OES-PEP (in OES-PEP.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
IPepRequest NewQueryPepRequest( Object subjectObj, Object resourceObj, Object actionObj, Object environmentObj, PepResponseType responseType, bool resourceActionOnly ) |
Parameters
- subjectObj
- Type: System..::..Object
Object representing the Subject ex string or System.Security.Principal.IIdentity or OES.pep.api.UserPricipal
- resourceObj
- Type: System..::..Object
Object representing the Resource
- actionObj
- Type: System..::..Object
Object representing the Action ex: String (read)
- environmentObj
- Type: System..::..Object
Object representing the Environment ex: Hashtable containing attributes name and values
- responseType
- Type: Oes.Pep.Api..::..PepResponseType
Type of response required
- resourceActionOnly
- Type: System..::..Boolean
Whether the query is for resource action only
Return Value
returns the created IPepRequest objectExceptions
Exception | Condition |
---|---|
Oes.Pep.Api..::..PepException | Throws the PepException, if passed information is not valid or not in expected form. |