.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 IPepRequest using objects 
            
Namespace: Oes.Pep.ApiAssembly: OES-PEP (in OES-PEP.dll) Version: 1.0.0.0 (1.0.0.0)
 Syntax
Syntax
| C# | 
|---|
| IPepRequest NewPepRequest( Object subjectObj, Object actionObj, Object resourceObj, Object environmentObj ) | 
Parameters
- subjectObj
- Type: System..::..Object
 Object representing the Subject ex string or System.Security.Principal.IIdentity or OES.pep.api.UserPricipal
- actionObj
- Type: System..::..Object
 Object representing the Action ex: String (read)
- resourceObj
- Type: System..::..Object
 Object representing the Resource ex: "myapp/resourcetype/resourcename"
- environmentObj
- Type: System..::..Object
 Object representing the Environment ex: Hashtable containing attributes name and values
Return Value
returns the created IPepRequest object Exceptions
Exceptions
| Exception | Condition | 
|---|---|
| Oes.Pep.Api..::..PepException | Throws the PepException, if passed information is not valid or not in expected form. | 





