System\ServiceModel\Activation\Utility.cs (10)
126internal static void AddRightGrantedToAccounts(List<SecurityIdentifier> accounts, int right, bool onProcess)
154internal static void AddRightGrantedToAccount(SecurityIdentifier account, int right)
167internal static void RemoveRightGrantedToAccount(SecurityIdentifier account, int right)
238static void EditKernelObjectSecurity(SafeCloseHandle kernelObject, List<SecurityIdentifier> accounts, SecurityIdentifier account, int right, bool add)
267foreach (SecurityIdentifier accountInList in accounts)
284static void EditDacl(DiscretionaryAcl dacl, SecurityIdentifier account, int right, bool add)
296internal static SecurityIdentifier GetWindowsServiceSid(string name)
334internal static SecurityIdentifier GetLogonSidForPid(int pid)
372internal static SecurityIdentifier GetUserSidForPid(int pid)
System\ServiceModel\Security\SctClaimSerializer.cs (6)
24static void SerializeSid(SecurityIdentifier sid, SctClaimDictionary dictionary, XmlDictionaryWriter writer)
44static void WriteSidAttribute(SecurityIdentifier sid, SctClaimDictionary dictionary, XmlDictionaryWriter writer)
51static SecurityIdentifier ReadSidAttribute(XmlDictionaryReader reader, SctClaimDictionary dictionary)
69SerializeSid((SecurityIdentifier)claim.Resource, dictionary, writer);
77SerializeSid((SecurityIdentifier)claim.Resource, dictionary, writer);
503SecurityIdentifier sid = ReadSidAttribute(reader, dictionary);