Share via


ProfileTemplatePolicy Constructor

Initializes ProfileTemplatePolicy class objects.

Namespace: Microsoft.Clm.Shared.ProfileTemplates
Assembly: Microsoft.Clm.Shared (in Microsoft.Clm.Shared.dll)

Usage

'Usage
Dim enabled As Boolean
Dim selfServiceEnabled As Boolean
Dim collectComments As Boolean
Dim collectRequestPriority As Boolean
Dim defaultRequestPriority As Byte
Dim dataCollection As DataCollection
Dim initiator As ApplicationSecurityDescriptor
Dim approver As ApplicationSecurityDescriptor
Dim approvalsNeeded As Integer
Dim oneTimePasswordPolicy As OneTimePasswordPolicy
Dim enrollAgentRequired As Boolean
Dim enrollAgent As ApplicationSecurityDescriptor
Dim documents As PolicyDocuments
Dim persoOptions As PersonalizationOptions

Dim instance As New ProfileTemplatePolicy(enabled, selfServiceEnabled, collectComments, collectRequestPriority, defaultRequestPriority, dataCollection, initiator, approver, approvalsNeeded, oneTimePasswordPolicy, enrollAgentRequired, enrollAgent, documents, persoOptions)

Syntax

'Declaration
Protected Sub New ( _
    enabled As Boolean, _
    selfServiceEnabled As Boolean, _
    collectComments As Boolean, _
    collectRequestPriority As Boolean, _
    defaultRequestPriority As Byte, _
    dataCollection As DataCollection, _
    initiator As ApplicationSecurityDescriptor, _
    approver As ApplicationSecurityDescriptor, _
    approvalsNeeded As Integer, _
    oneTimePasswordPolicy As OneTimePasswordPolicy, _
    enrollAgentRequired As Boolean, _
    enrollAgent As ApplicationSecurityDescriptor, _
    documents As PolicyDocuments, _
    persoOptions As PersonalizationOptions _
)
protected ProfileTemplatePolicy (
    bool enabled,
    bool selfServiceEnabled,
    bool collectComments,
    bool collectRequestPriority,
    byte defaultRequestPriority,
    DataCollection dataCollection,
    ApplicationSecurityDescriptor initiator,
    ApplicationSecurityDescriptor approver,
    int approvalsNeeded,
    OneTimePasswordPolicy oneTimePasswordPolicy,
    bool enrollAgentRequired,
    ApplicationSecurityDescriptor enrollAgent,
    PolicyDocuments documents,
    PersonalizationOptions persoOptions
)
protected:
ProfileTemplatePolicy (
    bool enabled, 
    bool selfServiceEnabled, 
    bool collectComments, 
    bool collectRequestPriority, 
    unsigned char defaultRequestPriority, 
    DataCollection^ dataCollection, 
    ApplicationSecurityDescriptor^ initiator, 
    ApplicationSecurityDescriptor^ approver, 
    int approvalsNeeded, 
    OneTimePasswordPolicy^ oneTimePasswordPolicy, 
    bool enrollAgentRequired, 
    ApplicationSecurityDescriptor^ enrollAgent, 
    PolicyDocuments^ documents, 
    PersonalizationOptions^ persoOptions
)
protected ProfileTemplatePolicy (
    boolean enabled, 
    boolean selfServiceEnabled, 
    boolean collectComments, 
    boolean collectRequestPriority, 
    byte defaultRequestPriority, 
    DataCollection dataCollection, 
    ApplicationSecurityDescriptor initiator, 
    ApplicationSecurityDescriptor approver, 
    int approvalsNeeded, 
    OneTimePasswordPolicy oneTimePasswordPolicy, 
    boolean enrollAgentRequired, 
    ApplicationSecurityDescriptor enrollAgent, 
    PolicyDocuments documents, 
    PersonalizationOptions persoOptions
)
protected function ProfileTemplatePolicy (
    enabled : boolean, 
    selfServiceEnabled : boolean, 
    collectComments : boolean, 
    collectRequestPriority : boolean, 
    defaultRequestPriority : byte, 
    dataCollection : DataCollection, 
    initiator : ApplicationSecurityDescriptor, 
    approver : ApplicationSecurityDescriptor, 
    approvalsNeeded : int, 
    oneTimePasswordPolicy : OneTimePasswordPolicy, 
    enrollAgentRequired : boolean, 
    enrollAgent : ApplicationSecurityDescriptor, 
    documents : PolicyDocuments, 
    persoOptions : PersonalizationOptions
)

Parameters

  • enabled
    true to enable the policy; otherwise, false.
  • selfServiceEnabled
    true to enable self-service initiation of FIM CM requests for the policy; otherwise, false.
  • collectComments
    true to enable comment collection for FIM CM requests for the policy; otherwise, false;
  • collectRequestPriority
    true to enable request priority collection for FIM CM requests for the policy; otherwise, false;
  • defaultRequestPriority
    An integer value that specifies the default priority for FIM CM requests for the policy.
  • dataCollection
    A DataCollection object that contains the data collection items that are associated with the policy.
  • initiator
    An ApplicationSecurityDescriptor object that describes the security descriptor for users who can initiate FIM CM requests for the policy.
  • approver
    An ApplicationSecurityDescriptor object that describes the security descriptor for users who are authorized to approve FIM CM requests for the policy.
  • approvalsNeeded
    An integer value that specifies the number of approvals that are required for FIM CM requests for the policy.
  • oneTimePasswordPolicy
    A OneTimePasswordPolicy object that describes how one-time passwords for FIM CM requests for the policy are distributed.
  • enrollAgentRequired
    true to specify that enrollment agents are required for FIM CM requests for the policy; otherwise, false.
  • enrollAgent
    An ApplicationSecurityDescriptor object that describes the security descriptor for users who can act as enrollment agents for the policy.
  • documents
    A PolicyDocuments object that contains the policy documents for the policy.
  • persoOptions
    A PersonalizationOptions object that describes the smart card personalization options for the policy.

Platforms

Development Platforms

Windows 2008 x64 Edition

Target Platforms

Windows XP SP3, Windows Vista SP1+, Windows 7, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

ProfileTemplatePolicy Class
ProfileTemplatePolicy Members
Microsoft.Clm.Shared.ProfileTemplates Namespace
ApplicationSecurityDescriptor Class
DataCollection Class
OneTimePasswordPolicy Class
PersonalizationOptions Class
PolicyDocuments Class