Skip to content

How could I set permissions on a vm with a windows domain user? #795

Open
@0c0de

Description

@0c0de

Hello to all, I'm pretty new with python and now we moved into this to manage our VMs but I don't know how to add a permission to an active directory user I found in the documentation a function,
vim.AuthorizationManager.Permission() but I don't know how to use it, what more confuses me is "user" stated as "login" for normal and "DOMAIN\login" for windows active directory and "roleId" which directly says integer, here I don't know if there is an Id that I have to know for this or is just random, I mean a can type whatever number I want

Sorry if this is so much noob

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions