C# Class Conjur.Resource

Base class representing a Conjur resource.
Show file Open project: conjurinc/api-dotnet

Protected Properties

Property Type Description
Client Client

Public Methods

Method Description
Check ( string privilege ) : bool

Determines whether the authenticated user holds the specified privilege on this resource.

Private Methods

Method Description
Resource ( Client client, string kind, string id ) : System.Net

Initializes a new instance of the Conjur.Resource class.

Method Details

Check() public method

Determines whether the authenticated user holds the specified privilege on this resource.
public Check ( string privilege ) : bool
privilege string Privilege to check.
return bool

Property Details

Client protected property

The Conjur client used to manipulate this resource.
protected Client,Conjur Client
return Client