• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# ActiveDirectorySecurityInheritance类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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


示例16: ActiveDirectoryAccessRule

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


示例17: PropertySetAccessRule

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


示例18: ExtendedRightAccessRule

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


示例19: ExtendedRightAccessRule

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


示例20: DeleteChildAccessRule

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



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# ActiveRecordModelBuilder类代码示例发布时间:2022-05-24
下一篇:
C# ActivationNetwork类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap