Video Screencast Help
Scheduled Maintenance: Symantec Connect is scheduled to be down Saturday, April 19 from 10am to 2pm Pacific Standard Time (GMT: 5pm to 9pm) for server migration and upgrade.
Please accept our apologies in advance for any inconvenience this might cause.

Virtual composer - streaming events - Additional documentation, Examples

Created: 26 Sep 2012 | 2 comments

As a streaming newbie I am looking for help with streaming events.  I have a need to check active directory group membership as a PreExecution event.  I have a vbs script to check it but I am not seeing how to incorporate it.

Thanks

 

Comments 2 CommentsJump to latest comment

ryanmc's picture

You can set the .vbs script directly as the script to be executed if it is ready to write out the scriptresult file needed by streaming events.  Otherwise just create a small batch file that calls wscript on your .vbs and then echo's a status to the scriptresult result file based on the success of the .vbs script.  Then add that batch file as a pre-execution script to the package, and add the .vbs script as a "data" script to the package - a script event that won't be executed directly but is used by other scripts.

Nirmal R's picture

@promax150

Just curious, why do you want to check for AD user group membership thru' execution scripts if you are using streaming. Streaming infrastructure gives you an option to configure with Active Directory and use your AD users groups to provision application appropriately. If the end point is configured to use windows login, then only the provisioned apps are visible to the currently logged on user.

If you are checking membership for some other reason, I would appreciate if you could share it.

Thanks.