Example #1
0
        public static async Task <List <string> > GetGroups(string group, string masterPassword)
        {
            using (var ocCommand = new OCGetGroups(group))
            {
                ocCommand.setCredentials("admin", masterPassword);
                await ocCommand.sendRequest();

                return(ocCommand.groupList);
            }
        }
Example #2
0
        public static async Task <List <string> > GetGroups(string group)
        {
            using (var ocCommand = new OCGetGroups(group))
            {
                ocCommand.setCredentials(Credentials);
                await ocCommand.sendRequest();

                return(ocCommand.groupList);
            }
        }