当前位置: 首页>>代码示例>>C#>>正文


C# ActiveDirectorySecurityInheritance类代码示例

本文整理汇总了C#中ActiveDirectorySecurityInheritance的典型用法代码示例。如果您正苦于以下问题:C# ActiveDirectorySecurityInheritance类的具体用法?C# ActiveDirectorySecurityInheritance怎么用?C# ActiveDirectorySecurityInheritance使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


ActiveDirectorySecurityInheritance类属于命名空间,在下文中一共展示了ActiveDirectorySecurityInheritance类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: GetPropagationFlags

 internal static PropagationFlags GetPropagationFlags(ActiveDirectorySecurityInheritance inheritanceType)
 {
     if ((inheritanceType < ActiveDirectorySecurityInheritance.None) || (inheritanceType > ActiveDirectorySecurityInheritance.Children))
     {
         throw new InvalidEnumArgumentException("inheritanceType", (int) inheritanceType, typeof(ActiveDirectorySecurityInheritance));
     }
     return ITToPF[(int) inheritanceType];
 }
开发者ID:pritesh-mandowara-sp,项目名称:DecompliedDotNetLibraries,代码行数:8,代码来源:ActiveDirectoryInheritanceTranslator.cs

示例2: GetInheritanceFlags

		internal static InheritanceFlags GetInheritanceFlags(ActiveDirectorySecurityInheritance inheritanceType)
		{
			if (inheritanceType < ActiveDirectorySecurityInheritance.None || inheritanceType > ActiveDirectorySecurityInheritance.Children)
			{
				throw new InvalidEnumArgumentException("inheritanceType", (int)inheritanceType, typeof(ActiveDirectorySecurityInheritance));
			}
			else
			{
				return ActiveDirectoryInheritanceTranslator.ITToIF[(int)inheritanceType];
			}
		}
开发者ID:nickchal,项目名称:pash,代码行数:11,代码来源:ActiveDirectoryInheritanceTranslator.cs

示例3: ActiveDirectoryAccessRule

		public ActiveDirectoryAccessRule(IdentityReference identity, ActiveDirectoryRights adRights, AccessControlType type, Guid objectType, ActiveDirectorySecurityInheritance inheritanceType, Guid inheritedObjectType) : this(identity, (int)adRights, type, objectType, false, InheritanceFlags.None, PropagationFlags.None, inheritedObjectType)
		{
		}
开发者ID:nlhepler,项目名称:mono,代码行数:3,代码来源:ActiveDirectoryAccessRule.cs

示例4: ExtendedRightAccessRule

 public ExtendedRightAccessRule(
     IdentityReference identity,
     AccessControlType type,
     ActiveDirectorySecurityInheritance inheritanceType,
     Guid inheritedObjectType)
     : base(
         identity,
         (int)ActiveDirectoryRights.ExtendedRight,
         type,
         Guid.Empty, // all extended rights
         false,
         ActiveDirectoryInheritanceTranslator.GetInheritanceFlags(inheritanceType),
         ActiveDirectoryInheritanceTranslator.GetPropagationFlags(inheritanceType),
         inheritedObjectType)
 {
 }
开发者ID:chcosta,项目名称:corefx,代码行数:16,代码来源:ActiveDirectorySecurity.cs

示例5: PropertyAccessRule

 public PropertyAccessRule(IdentityReference identity, AccessControlType type, PropertyAccess access, Guid propertyType, ActiveDirectorySecurityInheritance inheritanceType, Guid inheritedObjectType) : base(identity, PropertyAccessTranslator.AccessMaskFromPropertyAccess(access), type, propertyType, false, ActiveDirectoryInheritanceTranslator.GetInheritanceFlags(inheritanceType), ActiveDirectoryInheritanceTranslator.GetPropagationFlags(inheritanceType), inheritedObjectType)
 {
 }
开发者ID:pritesh-mandowara-sp,项目名称:DecompliedDotNetLibraries,代码行数:3,代码来源:PropertyAccessRule.cs

示例6: ExtendedRightAccessRule

 public ExtendedRightAccessRule(System.Security.Principal.IdentityReference identity, System.Security.AccessControl.AccessControlType type, Guid extendedRightType, ActiveDirectorySecurityInheritance inheritanceType, Guid inheritedObjectType) : base (default(System.Security.Principal.IdentityReference), default(ActiveDirectoryRights), default(System.Security.AccessControl.AccessControlType))
 {
   Contract.Requires(identity != null);
 }
开发者ID:asvishnyakov,项目名称:CodeContracts,代码行数:4,代码来源:System.DirectoryServices.ExtendedRightAccessRule.cs

示例7: DeleteChildAccessRule

	public DeleteChildAccessRule(System.Security.Principal.IdentityReference identity, System.Security.AccessControl.AccessControlType type, System.Guid childType, ActiveDirectorySecurityInheritance inheritanceType, System.Guid inheritedObjectType) {}
开发者ID:Pengfei-Gao,项目名称:source-Insight-3-for-centos7,代码行数:1,代码来源:DeleteChildAccessRule.cs

示例8: DeleteTreeAccessRule

	public DeleteTreeAccessRule(System.Security.Principal.IdentityReference identity, System.Security.AccessControl.AccessControlType type, ActiveDirectorySecurityInheritance inheritanceType) {}
开发者ID:Pengfei-Gao,项目名称:source-Insight-3-for-centos7,代码行数:1,代码来源:DeleteTreeAccessRule.cs

示例9: ActiveDirectoryAuditRule

	public ActiveDirectoryAuditRule(System.Security.Principal.IdentityReference identity, ActiveDirectoryRights adRights, System.Security.AccessControl.AuditFlags auditFlags, System.Guid objectType, ActiveDirectorySecurityInheritance inheritanceType, System.Guid inheritedObjectType) {}
开发者ID:Pengfei-Gao,项目名称:source-Insight-3-for-centos7,代码行数:1,代码来源:ActiveDirectoryAuditRule.cs

示例10: PropertySetAccessRule

		public PropertySetAccessRule (IdentityReference identity, AccessControlType type, PropertyAccess access, Guid propertySetType, ActiveDirectorySecurityInheritance inheritanceType, Guid inheritedObjectType) : base(identity, (int)AccessControlType.Allow, type, propertySetType, false, InheritanceFlags.None, PropagationFlags.None, inheritedObjectType)
		{
		}
开发者ID:nlhepler,项目名称:mono,代码行数:3,代码来源:PropertySetAccessRule.cs

示例11: CreateChildAccessRule

 public CreateChildAccessRule(IdentityReference identity, AccessControlType type, Guid childType, ActiveDirectorySecurityInheritance inheritanceType, Guid inheritedObjectType) : base(identity, 1, type, childType, false, ActiveDirectoryInheritanceTranslator.GetInheritanceFlags(inheritanceType), ActiveDirectoryInheritanceTranslator.GetPropagationFlags(inheritanceType), inheritedObjectType)
 {
 }
开发者ID:pritesh-mandowara-sp,项目名称:DecompliedDotNetLibraries,代码行数:3,代码来源:CreateChildAccessRule.cs

示例12: PropertyAccessRule

 public PropertyAccessRule(
     IdentityReference identity,
     AccessControlType type,
     PropertyAccess access,
     ActiveDirectorySecurityInheritance inheritanceType)
     : base(
         identity,
         (int)PropertyAccessTranslator.AccessMaskFromPropertyAccess(access),
         type,
         Guid.Empty, // all properties
         false,
         ActiveDirectoryInheritanceTranslator.GetInheritanceFlags(inheritanceType),
         ActiveDirectoryInheritanceTranslator.GetPropagationFlags(inheritanceType),
         Guid.Empty)
 {
 }
开发者ID:chcosta,项目名称:corefx,代码行数:16,代码来源:ActiveDirectorySecurity.cs

示例13: DeleteChildAccessRule

 public DeleteChildAccessRule(
     IdentityReference identity,
     AccessControlType type,
     ActiveDirectorySecurityInheritance inheritanceType,
     Guid inheritedObjectType)
     : base(
         identity,
         (int)ActiveDirectoryRights.DeleteChild,
         type,
         Guid.Empty, // all child objects
         false,
         ActiveDirectoryInheritanceTranslator.GetInheritanceFlags(inheritanceType),
         ActiveDirectoryInheritanceTranslator.GetPropagationFlags(inheritanceType),
         inheritedObjectType)
 {
 }
开发者ID:chcosta,项目名称:corefx,代码行数:16,代码来源:ActiveDirectorySecurity.cs

示例14: ListChildrenAccessRule

 public ListChildrenAccessRule(
     IdentityReference identity,
     AccessControlType type,
     ActiveDirectorySecurityInheritance inheritanceType)
     : base(
         identity,
         (int)ActiveDirectoryRights.ListChildren,
         type,
         Guid.Empty,
         false,
         ActiveDirectoryInheritanceTranslator.GetInheritanceFlags(inheritanceType),
         ActiveDirectoryInheritanceTranslator.GetPropagationFlags(inheritanceType),
         Guid.Empty)
 {
 }
开发者ID:chcosta,项目名称:corefx,代码行数:15,代码来源:ActiveDirectorySecurity.cs

示例15: ActiveDirectoryAccessRule

 public ActiveDirectoryAccessRule(
     IdentityReference identity,
     ActiveDirectoryRights adRights,
     AccessControlType type,
     ActiveDirectorySecurityInheritance inheritanceType)
     : this(
         identity,
         ActiveDirectoryRightsTranslator.AccessMaskFromRights(adRights),
         type,
         Guid.Empty,
         false,
         ActiveDirectoryInheritanceTranslator.GetInheritanceFlags(inheritanceType),
         ActiveDirectoryInheritanceTranslator.GetPropagationFlags(inheritanceType),
         Guid.Empty)
 {
 }
开发者ID:chcosta,项目名称:corefx,代码行数:16,代码来源:ActiveDirectorySecurity.cs


注:本文中的ActiveDirectorySecurityInheritance类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。