コード例 #1
0
 public static UnixGroupInfo[] GetSupplementaryGroups()
 {
     uint[]          numArray      = UnixEnvironment._GetSupplementaryGroupIds();
     UnixGroupInfo[] unixGroupInfo = new UnixGroupInfo[(int)numArray.Length];
     for (int i = 0; i < (int)unixGroupInfo.Length; i++)
     {
         unixGroupInfo[i] = new UnixGroupInfo((long)numArray[i]);
     }
     return(unixGroupInfo);
 }
コード例 #2
0
 public static long[] GetSupplementaryGroupIds()
 {
     uint[] numArray  = UnixEnvironment._GetSupplementaryGroupIds();
     long[] numArray1 = new long[(int)numArray.Length];
     for (int i = 0; i < (int)numArray1.Length; i++)
     {
         numArray1[i] = (long)numArray[i];
     }
     return(numArray1);
 }