LyncRunasAccountDiscovery (Rule)

Element properties:

TargetMicrosoft.SystemCenter.Advisor.Internal.Advisor_Lync
CategoryCustom
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
Scheduler DataSource System.Scheduler Default
StoreCredentialWriteAction WriteAction Microsoft.SystemCenter.Advisor.WriteAction.StoreCredentialWriteAction Default

Source Code:

<Rule ID="LyncRunasAccountDiscovery" Enabled="true" Target="Microsoft.SystemCenter.Advisor.Internal.Advisor_Lync" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Custom</Category>
<DataSources>
<DataSource ID="Scheduler" TypeID="System!System.Scheduler">
<Scheduler>
<SimpleReccuringSchedule>
<Interval Unit="Seconds">7205</Interval>
</SimpleReccuringSchedule>
<ExcludeDates/>
</Scheduler>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="StoreCredentialWriteAction" TypeID="Microsoft.SystemCenter.Advisor.WriteAction.StoreCredentialWriteAction">
<ActionAccountName>Microsoft.KnowledgeServices.ElevatedAccount</ActionAccountName>
<UserName>$RunAs[Name="Microsoft.KnowledgeServices.ElevatedAccount"]/UserName$</UserName>
<Domain>$RunAs[Name="Microsoft.KnowledgeServices.ElevatedAccount"]/Domain$</Domain>
<Password>$RunAs[Name="Microsoft.KnowledgeServices.ElevatedAccount"]/Password$</Password>
</WriteAction>
</WriteActions>
</Rule>