list remoteusergroups ( string hostname, string username )
remoteusergroups returns a list of groups that the specified user belongs to on the remote system.
|
NOTE: The remote host must be configured to run either pmmasterd or pmclientd to respond to this function. |
# print root's groups on the runhost print(remoteusergroups(runhost,"root"))
list remoteuserinfo ( string hostname, string username )
remoteuserinfo returns user information for the specified user from the remote host.
|
NOTE: The remote host must be configured to run either pmmasterd or pmclientd to respond to this function. |
#print root's info on the runhost print( remoteuserinfo(runhost,"root") )
list remoteuserlist ( string hostname )
remoteuserlist returns the full list of user names on the remote host.
|
NOTE: The remote host must be configured to run either pmmasterd or pmclientd to respond to this function. |
#print the user list on the runhost print(remoteuserlist(runhost))
These are the built-in string functions available to use within the policy file.
Name | Description |
---|---|
match | Match a string to a pattern |
strindex | Return the position of a substring in a string |
strlen | Return the length of a string |
strsub | Return a substring of a string |
subst | Substitute part of a string |
substr | Return a substring of a string |
© 2021 One Identity LLC. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy