The Admin class is the primary class in the [Admin Web service] namespace. The Admin class includes methods that for managing administrative settings and operations in Project Server and related Microsoft SharePoint Foundation 2010 sites.
Note
|
|---|
|
In the ASMX web service, Admin is a class. In the WCF service, Admin is an interface that is implemented in the AdminClient class. For information about using the AdminClient class in a WCF-based application, see the Admin class constructor. |
The [Admin Web service] namespace is an arbitrary name for a reference to the Admin.asmx web service (or the Admin.svc service) of the PSI in Microsoft Project Server 2010.
Following are typical administrative actions that can be programmatically managed:
-
Manage statusing settings and the audit log.
-
Manage Project Server synchronization with Microsoft Active Directory directory services.
-
Manage currency and reporting periods.
The Admin class methods typically use or return one of the following objects:
| Class | Description | |
|---|---|---|
| Admin | Includes methods for managing administrative settings and operations in Project Server and related Microsoft SharePoint Server 2010 sites. |
| ADSyncERPSettings | Used for maintaining settings for synchronizing the Enterprise Resource Pool with associated Active Directory services. |
| ADSyncGroupSettings | Manages synchronization settings between Active Directory groups and the Enterprise Resource Pool. |
| DepartmentsDataSet | Represents the collection of departments that are used for project entities and for resource entities. |
| DepartmentsDataSet.DepartmentsDataTable | Represents a data table that maintains the collection of departments that are used for project entities and resource entities. |
| DepartmentsDataSet.DepartmentsRow | Represents one department for assigning project entities. |
| DepartmentsDataSet.DepartmentsRowChangeEvent | An event that occurs when data in a DepartmentsRow is changed. |
| FiscalPeriodDataSet | Represents the fiscal reporting period. |
| FiscalPeriodDataSet.FiscalPeriodsDataTable | Represents a data table that maintains rows of fiscal period information. |
| FiscalPeriodDataSet.FiscalPeriodsRow | Represents fiscal reporting period information as a row in the FiscalPeriodDataSet.FiscalPeriodsDataTable object. |
| FiscalPeriodDataSet.FiscalPeriodsRowChangeEvent | An event that occurs when data in a [FiscalPeriodDataSet.FiscalPeriodsRow] is changed. |
| FiscalYearDataSet | Represents information about the fiscal year reporting period. |
| FiscalYearDataSet.FiscalYearsDataTable | Represents a data table that maintains rows of fiscal year information. |
| FiscalYearDataSet.FiscalYearsRow | Represents a row of fiscal period information in the FiscalYearDataSet.FiscalYearsDataTable object. |
| FiscalYearDataSet.FiscalYearsRowChangeEvent | An event that occurs when data in a FiscalYearsRow is changed. |
| StatusingSettingsDataSet | Represents a collection of settings that manage status updates and assignments in Project Server. |
| StatusingSettingsDataSet.StatusingSettingsDataTable | Represents a data table that maintains rows of timesheet status settings. |
| StatusingSettingsDataSet.StatusingSettingsRow | A StatusingSettingsDataSet.StatusingSettingsRow object represents settings information that is used for reporting project progress. |
| StatusingSettingsDataSet.StatusingSettingsRowChangeEvent | An event that occurs when data in a StatusingSettingsRow is changed. |
| TimePeriodDataSet | Stores time period configuration information. |
| TimePeriodDataSet.TimePeriodsDataTable | Represents a data table that maintains time period information. |
| TimePeriodDataSet.TimePeriodsRow | Contains a row of time period information. |
| TimePeriodDataSet.TimePeriodsRowChangeEvent | An event that occurs when data in a TimePeriodsRow is changed. |
| TimesheetAuditExportDataSet | Used to export timesheet auditing data. |
| TimesheetAuditExportDataSet.AuditExportsDataTable | Represents a data table that maintains information for auditing and exporting timesheets. |
| TimesheetAuditExportDataSet.AuditExportsRow | Contains a row of timesheet auditing information. |
| TimesheetAuditExportDataSet.AuditExportsRowChangeEvent | An event that occurs when data in an AuditExportsRow is changed. |
| TimesheetLineClassDataSet | Used to maintain timesheet line class data that includes names and descriptions. |
| TimesheetLineClassDataSet.LineClassesDataTable | Represents a data table that maintains the timesheet line classes information that is used to populate timesheets. |
| TimesheetLineClassDataSet.LineClassesRow | Represents one timesheet line class. |
| TimesheetLineClassDataSet.LineClassesRowChangeEvent | An event that occurs when data in a TimesheetLineClassDataSet.LineClassesRow is changed. |
| TimeSheetSettingsDataSet | Represents timesheet settings in TimeSheetSettingsDataSet.TimeSheetSettingsDataTable objects and TimeSheetSettingsDataSet.TimeSheetSettingsRow objects. |
| TimeSheetSettingsDataSet.TimeSheetSettingsDataTable | Represents a data table that maintains timesheet settings information. |
| TimeSheetSettingsDataSet.TimeSheetSettingsRow | Represents timesheet settings information as a row in the TimeSheetSettingsDataSet.TimeSheetSettingsDataTable object. |
| TimeSheetSettingsDataSet.TimeSheetSettingsRowChangeEvent | An event that occurs when data in a TimeSheetSettingsRow is changed. |
| UnsubmittedTimesheetDataSet | Represents unsubmitted timesheet information for specified periods of time. |
| UnsubmittedTimesheetDataSet.TimePeriodsDataTable | Represents a data table that maintains time period information. |
| UnsubmittedTimesheetDataSet.TimePeriodsRow | Contains a row of time period information. |
| UnsubmittedTimesheetDataSet.TimePeriodsRowChangeEvent | An event that occurs when data in a TimePeriodsRow is changed. |
| VersionsDataSet | Contains Project Professional version numbers. |
| VersionsDataSet.VersionsDataTable | Represents a data table that maintains the list of Project Professional versions that can connect with Project Server. |
| VersionsDataSet.VersionsRow | Represents one Project Professional version that can connect with Project Server. |
| VersionsDataSet.VersionsRowChangeEvent | An event that occurs when data in a VersionsRow is changed. |
| Delegate | Description | |
|---|---|---|
| DepartmentsDataSet.DepartmentsRowChangeEventHandler | Represents the method that handles events which occur when an action is performed on DepartmentsDataSet.DepartmentsRow data. |
| FiscalPeriodDataSet.FiscalPeriodsRowChangeEventHandler | Describes event handler settings for when data associated with a FiscalPeriodDataSet.FiscalPeriodsRow is edited and an event should be triggered. |
| FiscalYearDataSet.FiscalYearsRowChangeEventHandler | Describes event handler settings for when data associated with a FiscalYearDataSet.FiscalYearsRow is edited and an event should be triggered. |
| StatusingSettingsDataSet.StatusingSettingsRowChangeEventHandler | Represents the method that handles events which occur when an action is performed on StatusingSettingsDataSet.StatusingSettingsRow data. |
| TimePeriodDataSet.TimePeriodsRowChangeEventHandler | Represents the method that handles events which occur when an action is performed on TimePeriodDataSet.TimePeriodsRow data. |
| TimesheetAuditExportDataSet.AuditExportsRowChangeEventHandler | Represents the method that handles events which occur when an action is performed on TimesheetAuditExportDataSet.AuditExportsRow data. |
| TimesheetLineClassDataSet.LineClassesRowChangeEventHandler | Represents the method that handles events which occur when an action is performed on TimesheetLineClassDataSet.LineClassesRow data. |
| TimeSheetSettingsDataSet.TimeSheetSettingsRowChangeEventHandler | Describes event handler settings for when data associated with a TimeSheetSettingsDataSet.TimeSheetSettingsRow is edited and an event should be triggered. |
| UnsubmittedTimesheetDataSet.TimePeriodsRowChangeEventHandler | Represents the method that handles events which occur when an action is performed on UnsubmittedTimesheetDataSet.TimePeriodsRow data. |
| VersionsDataSet.VersionsRowChangeEventHandler | Represents the method that handles events which occur when an action is performed on VersionsDataSet.VersionsRow data. |
| Enumeration | Description | |
|---|---|---|
| ADSyncFrequencyUnit | Specifies the time unit for synchronization of Project Server groups or the Enterprise Resource Pool with Active Directory directory services. |
| ADSyncStatus | Indicates the state of the Enterprise Resource Pool synchronization process with associated Active Directory service groups. |
| AuditType | Specifies the audit type as by adjuster, resource, or both. |
| CacheType | Reserved for internal use. Specifies the type of cache. |
| DatabaseTimeoutType | Reserved for internal use. Refers to the Project Server core database timeout type. |
| LineClassState | Specifies the state of a timesheet line. |
| LineClassType | Specifies the type of timesheet line. |
| PeriodState | Specifies the state of a timesheet period for an action. |
| UserSyncSettings | Specifies the synchronization settings for a Project Server user. |
Note