48 references to WellKnownSidType
mscorlib (10)
system\security\accesscontrol\acl.cs (1)
3083
static private SecurityIdentifier _sidEveryone = new SecurityIdentifier(
WellKnownSidType
.WorldSid, null );
system\security\principal\sid.cs (7)
465
public SecurityIdentifier(
WellKnownSidType
sidType, SecurityIdentifier domainSid )
471
if (sidType ==
WellKnownSidType
.LogonIdsSid)
491
if ((sidType <
WellKnownSidType
.NullSid) || (sidType >
WellKnownSidType
.MaxDefined))
500
if ((sidType >=
WellKnownSidType
.AccountAdministratorSid) && (sidType <=
WellKnownSidType
.AccountRasAndIasServersSid))
899
public bool IsWellKnown(
WellKnownSidType
type )
system\security\principal\win32.cs (2)
251
WellKnownSidType
sidType,
408
WellKnownSidType
type
System (1)
services\monitoring\system\diagnosticts\SharedUtils.cs (1)
119
SecurityIdentifier everyoneSid = new SecurityIdentifier(
WellKnownSidType
.AuthenticatedUserSid, null);
System.Data (2)
fx\src\data\System\Data\ProviderBase\DbConnectionPoolIdentity.cs (2)
33
static private readonly byte[] NetworkSid = (ADP.IsWindowsNT ? CreateWellKnownSid(
WellKnownSidType
.NetworkSid) : null);
56
static private byte[] CreateWellKnownSid(
WellKnownSidType
sidType) {
System.IdentityModel (1)
System\IdentityModel\Claims\ClaimSet.cs (1)
42
SecurityIdentifier sid = new SecurityIdentifier(
WellKnownSidType
.NTAuthoritySid, null);
System.ServiceModel (15)
System\ServiceModel\Activation\Configuration\SecurityIdentifierElementCollection.cs (4)
40
this.Add(new SecurityIdentifierElement(new SecurityIdentifier(
WellKnownSidType
.LocalSystemSid, null)));
41
this.Add(new SecurityIdentifierElement(new SecurityIdentifier(
WellKnownSidType
.BuiltinAdministratorsSid, null)));
42
this.Add(new SecurityIdentifierElement(new SecurityIdentifier(
WellKnownSidType
.LocalServiceSid, null)));
43
this.Add(new SecurityIdentifierElement(new SecurityIdentifier(
WellKnownSidType
.NetworkServiceSid, null)));
System\ServiceModel\Activation\Utility.cs (1)
358
return new SecurityIdentifier(
WellKnownSidType
.LocalSystemSid, null);
System\ServiceModel\Channels\PipeConnection.cs (2)
2426
dacl.AddAccess(AccessControlType.Deny, new SecurityIdentifier(
WellKnownSidType
.NetworkSid, null),
2434
dacl.AddAccess(AccessControlType.Allow, new SecurityIdentifier(
WellKnownSidType
.WorldSid, null),
System\ServiceModel\Channels\SharedConnectionListener.cs (1)
662
bool notNecessary = !OSEnvironmentHelper.IsVistaOrGreater && listenerUserSid.Equals(new SecurityIdentifier(
WellKnownSidType
.LocalSystemSid, null));
System\ServiceModel\ComIntegration\ComPlusAuthorization.cs (1)
206
static SecurityIdentifier sidAdministrators = new SecurityIdentifier(
WellKnownSidType
.BuiltinAdministratorsSid, null);
System\ServiceModel\Dispatcher\SecurityImpersonationBehavior.cs (1)
232
if (sidIdentity.SecurityIdentifier.IsWellKnown(
WellKnownSidType
.AnonymousSid))
System\ServiceModel\Security\SecurityUtils.cs (5)
352
administratorsSid = new SecurityIdentifier(
WellKnownSidType
.BuiltinAdministratorsSid, null);
431
return (sid.IsWellKnown(
WellKnownSidType
.LocalSystemSid)
432
|| sid.IsWellKnown(
WellKnownSidType
.NetworkServiceSid)
433
|| sid.IsWellKnown(
WellKnownSidType
.LocalServiceSid)
2297
if (!allowUnauthenticatedCallers && identity.User.IsWellKnown(
WellKnownSidType
.AnonymousSid))
System.ServiceModel.Activities (1)
System\ServiceModel\Activities\Description\WorkflowInstanceManagementBehavior.cs (1)
123
SecurityIdentifier identifier = new SecurityIdentifier(
WellKnownSidType
.BuiltinAdministratorsSid, null);
System.Workflow.Runtime (2)
DebugEngine\DebugController.cs (2)
109
CommonAce adminsGroupAceForToken = new CommonAce(AceFlags.None, AceQualifier.AccessAllowed, NativeMethods.TOKEN_QUERY, new SecurityIdentifier(
WellKnownSidType
.BuiltinAdministratorsSid, null), false, null);
344
SecurityIdentifier si = new SecurityIdentifier(
WellKnownSidType
.BuiltinAdministratorsSid, null);
WsatConfig (8)
Configuration\ClusterRegistryConfigurationProvider.cs (4)
328
if (ace != null && ace.AceType == AceType.AccessAllowed && ace.SecurityIdentifier.IsWellKnown(
WellKnownSidType
.WorldSid))
332
dacl.Purge(new SecurityIdentifier(
WellKnownSidType
.WorldSid, null));
337
dacl.AddAccess(AccessControlType.Allow, new SecurityIdentifier(
WellKnownSidType
.AuthenticatedUserSid, null),
339
dacl.AddAccess(AccessControlType.Allow, new SecurityIdentifier(
WellKnownSidType
.NetworkServiceSid, null),
Configuration\StdRegProviderWrapper.cs (2)
347
new SecurityIdentifier(
WellKnownSidType
.NetworkServiceSid, null),
356
new SecurityIdentifier(
WellKnownSidType
.AuthenticatedUserSid, null),
Configuration\WsatConfiguration.cs (2)
660
SecurityIdentifier ns = new SecurityIdentifier(
WellKnownSidType
.NetworkServiceSid, null);
714
SecurityIdentifier ns = new SecurityIdentifier(
WellKnownSidType
.NetworkServiceSid, null);
WsatUI (8)
Configuration\ClusterRegistryConfigurationProvider.cs (4)
328
if (ace != null && ace.AceType == AceType.AccessAllowed && ace.SecurityIdentifier.IsWellKnown(
WellKnownSidType
.WorldSid))
332
dacl.Purge(new SecurityIdentifier(
WellKnownSidType
.WorldSid, null));
337
dacl.AddAccess(AccessControlType.Allow, new SecurityIdentifier(
WellKnownSidType
.AuthenticatedUserSid, null),
339
dacl.AddAccess(AccessControlType.Allow, new SecurityIdentifier(
WellKnownSidType
.NetworkServiceSid, null),
Configuration\StdRegProviderWrapper.cs (2)
347
new SecurityIdentifier(
WellKnownSidType
.NetworkServiceSid, null),
356
new SecurityIdentifier(
WellKnownSidType
.AuthenticatedUserSid, null),
Configuration\WsatConfiguration.cs (2)
660
SecurityIdentifier ns = new SecurityIdentifier(
WellKnownSidType
.NetworkServiceSid, null);
714
SecurityIdentifier ns = new SecurityIdentifier(
WellKnownSidType
.NetworkServiceSid, null);