CompanyName
Gets or sets the company name to match to identify the Windows application associated with this right.
Syntax
string CompanyName {get; set;}
Property value
The company name associated with the application.
Example
The following code sample illustrates using CompanyName
in a script:
...
\$listType = ("System.Collections.Generic.List\\
1" -as "Type");
\$listType = \$listType.MakeGenericType( @(
("Centrify.DirectControl.API.IWindowsApplicationCriteria" -as "Type")));
\$criteriaList = [Activator]::CreateInstance(\$listType);
\$objApplicationCriteria = \$objWindowsApplication.CreateApplicationCriteria();
\$objApplicationCriteria.FileType =
[Centrify.DirectControl.API.WindowsFileType]::EXE;
\$objApplicationCriteria.FileName = "filename.exe";
\$objApplicationCriteria.Path = "SYSTEMPATH";
\$objApplicationCriteria.Argument = "Optional arguments 1";
\$objApplicationCriteria.IsArgumentCaseSensitive = \$true;
\$objApplicationCriteria.IsArgumentExactMatch = \$true;
\$objApplicationCriteria.CompanyName = "Cendura Software";
\$objApplicationCriteria.CompanyNameMatchOption =
[Centrify.DirectControl.API.StringMatchOption]::ExactMatch;
...