示例#1
0
        public string[] GetGroupList()
        {
            if (ParentPage == null)
            {
                return(null);
            }

            string [] groups;

            uint result = LUGAPI.NetGetGroups(
                _servername,
                _username,
                out groups);

            if (result == (uint)LUGAPI.WinError.ERROR_SUCCESS)
            {
                return(groups);
            }

            return(null);
        }