Skip to content

Latest commit

 

History

History

README.md

Google Cloud IAM Access Management Sample

This sample demonstrates how to manage user access using the Google Cloud IAM APIs in C#.

To learn more, see Granting, Changing, and Revoking Access to Resources.

This sample requires .NET Core 2.0 or later. That means using Visual Studio 2017, or the command line.

Links

Build and Run

  1. Follow the instructions in the root README.

  2. Enable APIs for your project. Click here to visit Cloud Platform Console and enable the Google Cloud IAM API.

  3. Add a reference to the project in your application.

  4. Call GetIamPolicy() and SetIamPolicy() to get and set policy for a resource.

Contributing changes

Licensing