Exemplo n.º 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);
            }
        }
Exemplo n.º 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);
            }
        }