JAMS Developer Guide
AccessRuleFactory Method (JobSecurity)


MVPSI.JAMS Namespace > JobSecurity Class : AccessRuleFactory Method
Creates a JobAccessRule.
Syntax
'Declaration
 
Public Overrides NotOverridable Function AccessRuleFactory( _
   ByVal identityReference As System.Security.Principal.IdentityReference, _
   ByVal accessMask As System.Integer, _
   ByVal isInherited As System.Boolean, _
   ByVal inheritanceFlags As System.Security.AccessControl.InheritanceFlags, _
   ByVal propagationFlags As System.Security.AccessControl.PropagationFlags, _
   ByVal type As System.Security.AccessControl.AccessControlType _
) As System.Security.AccessControl.AccessRule
'Usage
 
Dim instance As JobSecurity
Dim identityReference As System.Security.Principal.IdentityReference
Dim accessMask As System.Integer
Dim isInherited As System.Boolean
Dim inheritanceFlags As System.Security.AccessControl.InheritanceFlags
Dim propagationFlags As System.Security.AccessControl.PropagationFlags
Dim type As System.Security.AccessControl.AccessControlType
Dim value As System.Security.AccessControl.AccessRule
 
value = instance.AccessRuleFactory(identityReference, accessMask, isInherited, inheritanceFlags, propagationFlags, type)
public override System.Security.AccessControl.AccessRule AccessRuleFactory( 
   System.Security.Principal.IdentityReference identityReference,
   System.int accessMask,
   System.bool isInherited,
   System.Security.AccessControl.InheritanceFlags inheritanceFlags,
   System.Security.AccessControl.PropagationFlags propagationFlags,
   System.Security.AccessControl.AccessControlType type
)

Parameters

identityReference
accessMask
isInherited
inheritanceFlags
propagationFlags
type
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

JobSecurity Class
JobSecurity Members