2 instantiations of NetCred
System.DirectoryServices.AccountManagement (2)
System\DirectoryServices\AccountManagement\AD\ADStoreCtx.cs (1)
294this.credentials = new NetCred(username, password);
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx.cs (1)
169_credentials = new NetCred(username, password);
20 references to NetCred
System.DirectoryServices.AccountManagement (20)
System\DirectoryServices\AccountManagement\AD\ADStoreCtx.cs (2)
32protected internal NetCred Credentials { get { return this.credentials; } } 33protected NetCred credentials;
System\DirectoryServices\AccountManagement\AD\ADStoreCtx_LoadStore.cs (1)
1476protected static void UpdateGroupMembership(Principal group, DirectoryEntry de, NetCred credentials, AuthenticationTypes authTypes)
System\DirectoryServices\AccountManagement\AD\SDSCache.cs (1)
38public PrincipalContext GetContext(string name, NetCred credentials, ContextOptions contextOptions)
System\DirectoryServices\AccountManagement\AD\SDSUtils.cs (7)
201NetCred credentials, 264internal delegate void GroupMembershipUpdater(Principal p, DirectoryEntry de, NetCred credentials, AuthenticationTypes authTypes); 270NetCred credentials, 373internal static DirectoryEntry BuildDirectoryEntry(string path, NetCred credentials, AuthenticationTypes authTypes) 385internal static DirectoryEntry BuildDirectoryEntry(NetCred credentials, AuthenticationTypes authTypes) 398internal static void WriteAttribute<T>(string dePath, string attribute, T value, NetCred credentials, AuthenticationTypes authTypes) 432internal static void WriteAttribute(string dePath, string attribute, int value, NetCred credentials, AuthenticationTypes authTypes)
System\DirectoryServices\AccountManagement\AD\SidList.cs (1)
17internal SidList(List<byte[]> sidListByteFormat, string target, NetCred credentials)
System\DirectoryServices\AccountManagement\AuthZSet.cs (2)
19NetCred credentials, 488private readonly NetCred _credentials;
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx.cs (2)
21internal NetCred Credentials { get { return _credentials; } } 22private readonly NetCred _credentials;
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx_LoadStore.cs (1)
1006private static void UpdateGroupMembership(Principal group, DirectoryEntry de, NetCred credentials, AuthenticationTypes authTypes)
System\DirectoryServices\AccountManagement\Utils.cs (3)
588internal static unsafe int LookupSid(string serverName, NetCred credentials, byte[] sid, out string name, out string domainName, out int accountUsage) 653NetCred credentials, 719internal static bool BeginImpersonation(NetCred credential, out IntPtr hUserToken)