K
Krish
The following call returns something like US/ABCDEF
System.Security.Principal.WindowsIdentity.GetCurrent().Name.ToString()
I would like to split the string by "/" and access the 2 member OR
index of
1 in the array.
I tried doing something like
System.Security.Principal.WindowsIdentity.GetCurrent().Name.ToString().Split("/")[1];
Why does this not work
System.Security.Principal.WindowsIdentity.GetCurrent().Name.ToString()
I would like to split the string by "/" and access the 2 member OR
index of
1 in the array.
I tried doing something like
System.Security.Principal.WindowsIdentity.GetCurrent().Name.ToString().Split("/")[1];
Why does this not work