Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Methods to get and set principal information of the task #22

Merged
merged 2 commits into from
Mar 20, 2018

Conversation

Nimesh-Msys
Copy link
Contributor

@Nimesh-Msys Nimesh-Msys commented Mar 19, 2018

Example:
-- To set tasks principal:

  principals = {id: "Author", display_name:"Name", user_id: "Administrator", logon_type: 3, run_level: 1}
  ts.configure_principals(principals)

-- To fetch them in a hash format, call principals()

Reference: https://msdn.microsoft.com/en-us/library/windows/desktop/aa383590(v=vs.85).aspx

Signed-off-by: Nimesh Patni nimesh.patni@msystechnologies.com

Example:
 -- To set tasks principal:
     principals = {id: "Author", display_name:"Name One", user_id: "Administrator", logon_type: 3, run_level: 1}
     ts.configure_principals(principals)
 -- To fetch them in a hash format, call principals()

Signed-off-by: Nimesh Patni <nimesh.patni@msystechnologies.com>
- May be used while understanding/passing the principal values

Signed-off-by: Nimesh Patni <nimesh.patni@msystechnologies.com>
@btm btm merged commit a235527 into chef:ole Mar 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants