The IUIResourceMgr::GetAvailableScripts method, in Configuration Manager, gets a list of all the scripts that are available for a user to run.
[IDL] HRESULT GetAvailableScripts( IPrograms** ppPrograms );
- Data type: IProgramsQualifiers: [out, retval]Pointer to a Programs Class object defining all the programs that are available from Run Advertised Programs.
An HRESULT code. Possible values include, but are not limited to, the following:
- The method succeeded.
This method retrieves the same data as the IUIResourceMgr::GetAvailableApplications Method method.
This method can be called only in the context of the user who is currently logged on to the client.
For more information, see Configuration Manager Client Runtime Requirements.
For more information, see Configuration Manager Client Development Requirements.
Send comments about this topic to Microsoft.