次の方法で共有


Security Web Service

The Security class is the primary class in the [Security Web service] namespace. The Security class includes methods that manage security templates, security categories, organizational and global permissions, and user and group permissions in Project Server.

Note

In the ASMX web service, Security is a class. In the WCF service, Security is an interface that is implemented in the SecurityClient class. For information about using the SecurityClient class in a WCF-based application, see the Security class constructor.

The [Security Web service] namespace is an arbitrary name for a reference to the Security.asmx web service (or the Security.svc service) of the PSI in Microsoft Project Server 2010.

Security methods typically use or return one of the following DataSet objects:

Classes

  Class Description
Public class PermissionDataSet Represents the permissions that are used to manage project resources and processes.
Public class PermissionDataSet.ActionsDataTable Represents information about action permissions that is contained in one or more PermissionDataSet.ActionsRow objects.
Public class PermissionDataSet.ActionsRow Represents the action of a Project Server security feature, as a row in the PermissionDataSet.ActionsDataTable object.
Public class PermissionDataSet.ActionsRowChangeEvent Event that occurs when data in a ActionsRow is changed.
Public class PermissionDataSet.FeaturesDataTable Represents information about feature permissions that is contained in one or more PermissionDataSet.FeaturesRow objects.
Public class PermissionDataSet.FeaturesRow Represents feature permissions information as a row in the PermissionDataSet.FeaturesDataTable object.
Public class PermissionDataSet.FeaturesRowChangeEvent Event that occurs when data in a FeaturesRow is changed.
Public class Security Includes methods for checking user permissions and managing security groups, templates, categories, and organizational permissions in Project Server.
Public class SecurityCategoriesDataSet Represents information about security categories.
Public class SecurityCategoriesDataSet.GroupPermissionsDataTable Represents information about group permission categories that is contained in one or more SecurityCategoriesDataSet.GroupPermissionsDataTable objects.
Public class SecurityCategoriesDataSet.GroupPermissionsRow Represents category permission information for a group, as a row in the SecurityCategoriesDataSet.GroupPermissionsDataTable object.
Public class SecurityCategoriesDataSet.GroupPermissionsRowChangeEvent Event that occurs when data in a GroupPermissionsRow is changed.
Public class SecurityCategoriesDataSet.GroupRelationsDataTable Represents information about security group relationships that is contained in one or more SecurityCategoriesDataSet.GroupRelationsRow objects.
Public class SecurityCategoriesDataSet.GroupRelationsRow Specifies the relationship between a security group and a security category.
Public class SecurityCategoriesDataSet.GroupRelationsRowChangeEvent Event that occurs when data in a GroupRelationsRow is changed.
Public class SecurityCategoriesDataSet.SecurityCategoriesDataTable Represents information about security categories that is contained in one or more SecurityCategoriesDataSet.SecurityCategoriesRow objects.
Public class SecurityCategoriesDataSet.SecurityCategoriesRow Represents one security category.
Public class SecurityCategoriesDataSet.SecurityCategoriesRowChangeEvent Event that occurs when data in a SecurityCategoriesRow is changed.
Public class SecurityCategoriesDataSet.SecurityCategoryObjectsDataTable Represents information about security category objects that is contained in one or more SecurityCategoriesDataSet.SecurityCategoryObjectsRow objects.
Public class SecurityCategoriesDataSet.SecurityCategoryObjectsRow Represents one security category object.
Public class SecurityCategoriesDataSet.SecurityCategoryObjectsRowChangeEvent Event that occurs when data in a SecurityCategoryObjectsRow is changed.
Public class SecurityCategoriesDataSet.SecurityCategoryRulesDataTable Represents information about security category rules that is contained in one or more SecurityCategoriesDataSet.SecurityCategoryRulesRow objects.
Public class SecurityCategoriesDataSet.SecurityCategoryRulesRow Specifies one row of data that is associated with security category rules.
Public class SecurityCategoriesDataSet.SecurityCategoryRulesRowChangeEvent Event that occurs when data in a SecurityCategoryRulesRow is changed.
Public class SecurityCategoriesDataSet.UserPermissionsDataTable Represents information about user permissions that is contained in one or more SecurityCategoriesDataSet.UserPermissionsRow objects.
Public class SecurityCategoriesDataSet.UserPermissionsRow Specifies one row of security category data that is associated with user permissions.
Public class SecurityCategoriesDataSet.UserPermissionsRowChangeEvent Event that occurs when data in a UserPermissionsRow is changed.
Public class SecurityCategoriesDataSet.UserRelationsDataTable Represents information about user relations that is contained in one or more SecurityCategoriesDataSet.UserRelationsRow objects.
Public class SecurityCategoriesDataSet.UserRelationsRow Represents information about user relations as a row in the SecurityCategoriesDataSet.UserRelationsDataTable object.
Public class SecurityCategoriesDataSet.UserRelationsRowChangeEvent Event that occurs when data in a UserRelationsRow is changed.
Public class SecurityGroupsDataSet Represents security group information.
Public class SecurityGroupsDataSet.CategoryPermissionsDataTable Represents information about category security permissions contained in one or more SecurityGroupsDataSet.CategoryPermissionsRow objects.
Public class SecurityGroupsDataSet.CategoryPermissionsRow Defines an access permission that is associated with a security category.
Public class SecurityGroupsDataSet.CategoryPermissionsRowChangeEvent Event that occurs when data in a CategoryPermissionsRow is changed.
Public class SecurityGroupsDataSet.GlobalPermissionsDataTable Represents information about global security permissions that is contained in one or more SecurityGroupsDataSet.GlobalPermissionsRow objects.
Public class SecurityGroupsDataSet.GlobalPermissionsRow Represents global security permissions information as a row in the SecurityGroupsDataSet.GlobalPermissionsDataTable object.
Public class SecurityGroupsDataSet.GlobalPermissionsRowChangeEvent Event that occurs when data in a GlobalPermissionsRow is changed.
Public class SecurityGroupsDataSet.GroupMembersDataTable Represents information about security group members that is contained in one or more SecurityGroupsDataSet.GroupMembersRow objects.
Public class SecurityGroupsDataSet.GroupMembersRow Represents security group members information as a row in the SecurityGroupsDataSet.GroupMembersDataTable object.
Public class SecurityGroupsDataSet.GroupMembersRowChangeEvent Event that occurs when data in a GroupMembersRow is changed.
Public class SecurityGroupsDataSet.SecurityGroupsDataTable Represents information about one or more security groups that are contained in SecurityGroupsDataSet.SecurityGroupsRow objects.
Public class SecurityGroupsDataSet.SecurityGroupsRow Represents security groups information as a row in the SecurityGroupsDataSet.SecurityGroupsDataTable object.
Public class SecurityGroupsDataSet.SecurityGroupsRowChangeEvent Event that occurs when data in a SecurityGroupsRow is changed.
Public class SecurityGroupsDataSet.SecurityPrincipleCategoryRelationsDataTable Represents information about security category relations that is contained in one or more SecurityGroupsDataSet.SecurityPrincipleCategoryRelationsRow objects.
Public class SecurityGroupsDataSet.SecurityPrincipleCategoryRelationsRow Represents security category relations information as a row in the SecurityGroupsDataSet.SecurityPrincipleCategoryRelationsDataTable object.
Public class SecurityGroupsDataSet.SecurityPrincipleCategoryRelationsRowChangeEvent Event that occurs when data in a SecurityPrincipleCategoryRelationsRow is changed.
Public class SecurityOrganizationalPermissionsDataSet Represents information about organizational security permissions.
Public class SecurityOrganizationalPermissionsDataSet.SecurityOrganizationalPermissionsDataTable Represents information about organizational security permissions that is contained in one or more SecurityOrganizationalPermissionsDataSet.SecurityOrganizationalPermissionsRow objects.
Public class SecurityOrganizationalPermissionsDataSet.SecurityOrganizationalPermissionsRow Represents an organizational (Project Web App) security permission as a row in the SecurityOrganizationalPermissionsDataSet.SecurityOrganizationalPermissionsDataTable object.
Public class SecurityOrganizationalPermissionsDataSet.SecurityOrganizationalPermissionsRowChangeEvent Event that occurs when data in a SecurityOrganizationalPermissionsRow is changed.
Public class SecurityProjectCategoriesDataSet Represents information about project security categories.
Public class SecurityProjectCategoriesDataSet.GroupPermissionsDataTable Represents information about group security permissions that is contained in one or more SecurityProjectCategoriesDataSet.GroupPermissionsRow objects.
Public class SecurityProjectCategoriesDataSet.GroupPermissionsRow Represents one group security permission, as a row in the SecurityProjectCategoriesDataSet.GroupPermissionsDataTable object.
Public class SecurityProjectCategoriesDataSet.GroupPermissionsRowChangeEvent Event that occurs when data in a GroupPermissionsRow is changed.
Public class SecurityProjectCategoriesDataSet.GroupRelationsDataTable Represents information about group relations for security categories, which is contained in one or more SecurityProjectCategoriesDataSet.GroupRelationsRow objects.
Public class SecurityProjectCategoriesDataSet.GroupRelationsRow Represents group securities relations information as a row in the SecurityProjectCategoriesDataSet.GroupRelationsDataTable object.
Public class SecurityProjectCategoriesDataSet.GroupRelationsRowChangeEvent Event that occurs when data in a GroupRelationsRow is changed.
Public class SecurityProjectCategoriesDataSet.ProjectCategoriesDataTable Represents information about project security categories, which is contained in one or more SecurityProjectCategoriesDataSet.ProjectCategoriesRow objects.
Public class SecurityProjectCategoriesDataSet.ProjectCategoriesRow Represents project security categories information as a row in the SecurityProjectCategoriesDataSet.ProjectCategoriesRow object.
Public class SecurityProjectCategoriesDataSet.ProjectCategoriesRowChangeEvent Event that occurs when data in a ProjectCategoriesRow is changed.
Public class SecurityProjectCategoriesDataSet.UserPermissionsDataTable Represents information about user security permissions that is contained in one or more SecurityProjectCategoriesDataSet.UserPermissionsRow objects.
Public class SecurityProjectCategoriesDataSet.UserPermissionsRow Represents one user permission for a security category, as a row in the SecurityProjectCategoriesDataSet.UserPermissionsDataTable object.
Public class SecurityProjectCategoriesDataSet.UserPermissionsRowChangeEvent Event that occurs when data in a UserPermissionsRow is changed.
Public class SecurityProjectCategoriesDataSet.UserRelationsDataTable Represents information about user relations for security categories, which is contained in one or more SecurityProjectCategoriesDataSet.UserRelationsRow objects.
Public class SecurityProjectCategoriesDataSet.UserRelationsRow Represents one user relation for a project security category, as a row in the SecurityProjectCategoriesDataSet.UserRelationsDataTable object.
Public class SecurityProjectCategoriesDataSet.UserRelationsRowChangeEvent Event that occurs when data in a UserRelationsRow is changed.
Public class SecurityTemplatesDataSet Represents project security templates information.
Public class SecurityTemplatesDataSet.CategoryPermissionsDataTable Represents information about security category permissions in the security templates, contained in one or more SecurityTemplatesDataSet.CategoryPermissionsRow objects.
Public class SecurityTemplatesDataSet.CategoryPermissionsRow Represents the permissions categories for project security templates as a row in the SecurityTemplatesDataSet.CategoryPermissionsDataTable object.
Public class SecurityTemplatesDataSet.CategoryPermissionsRowChangeEvent Event that occurs when data in a CategoryPermissionsRow is changed.
Public class SecurityTemplatesDataSet.GlobalPermissionsDataTable Represents one or more global permissions in security templates, which are contained in one or more SecurityTemplatesDataSet.GlobalPermissionsRow objects.
Public class SecurityTemplatesDataSet.GlobalPermissionsRow Represents one global permission in a security template, as a row in the SecurityTemplatesDataSet.GlobalPermissionsDataTable object.
Public class SecurityTemplatesDataSet.GlobalPermissionsRowChangeEvent Event that occurs when data in a GlobalPermissionsRow is changed.
Public class SecurityTemplatesDataSet.SecurityTemplatesDataTable Represents one or more security templates that are defined by SecurityTemplatesDataSet.SecurityTemplatesRow objects.
Public class SecurityTemplatesDataSet.SecurityTemplatesRow Specifies one row of security template information.
Public class SecurityTemplatesDataSet.SecurityTemplatesRowChangeEvent Event that occurs when data in a SecurityTemplatesRow is changed.

Delegates

  Delegate Description
Public delegate PermissionDataSet.ActionsRowChangeEventHandler Describes event handler settings for when data associated with a PermissionDataSet.ActionsRow is edited and an event should be triggered.
Public delegate PermissionDataSet.FeaturesRowChangeEventHandler Describes event handler settings for when data associated with a PermissionDataSet.FeaturesRow is edited and an event should be triggered.
Public delegate SecurityCategoriesDataSet.GroupPermissionsRowChangeEventHandler Describes event handler settings for when data associated with a SecurityCategoriesDataSet.GroupPermissionsRow is edited and an event should be triggered.
Public delegate SecurityCategoriesDataSet.GroupRelationsRowChangeEventHandler Describes event handler settings for when data associated with a SecurityCategoriesDataSet.GroupRelationsRow is edited and an event should be triggered.
Public delegate SecurityCategoriesDataSet.SecurityCategoriesRowChangeEventHandler Describes event handler settings for when data associated with a SecurityCategoriesDataSet.SecurityCategoriesRow is edited and an event should be triggered.
Public delegate SecurityCategoriesDataSet.SecurityCategoryObjectsRowChangeEventHandler Describes event handler settings for when data associated with a SecurityCategoriesDataSet.SecurityCategoryObjectsRow is edited and an event should be triggered.
Public delegate SecurityCategoriesDataSet.SecurityCategoryRulesRowChangeEventHandler Describes event handler settings for when data associated with a SecurityCategoriesDataSet.SecurityCategoryRulesRow is edited and an event should be triggered.
Public delegate SecurityCategoriesDataSet.UserPermissionsRowChangeEventHandler Describes event handler settings for when data associated with a SecurityCategoriesDataSet.UserPermissionsRow is edited and an event should be triggered.
Public delegate SecurityCategoriesDataSet.UserRelationsRowChangeEventHandler Describes event handler settings for when data associated with aSecurityCategoriesDataSet.UserRelationsRow is edited and an event should be triggered.
Public delegate SecurityGroupsDataSet.CategoryPermissionsRowChangeEventHandler Describes event handler settings for when data associated with a SecurityGroupsDataSet.CategoryPermissionsRow is edited and an event should be triggered.
Public delegate SecurityGroupsDataSet.GlobalPermissionsRowChangeEventHandler Describes event handler settings for when data associated with a SecurityGroupsDataSet.GlobalPermissionsRow is edited and an event should be triggered.
Public delegate SecurityGroupsDataSet.GroupMembersRowChangeEventHandler Describes event handler settings for when data associated with a SecurityGroupsDataSet.GroupMembersRow is edited and an event should be triggered.
Public delegate SecurityGroupsDataSet.SecurityGroupsRowChangeEventHandler Describes event handler settings for when data associated with a SecurityGroupsDataSet.SecurityGroupsRow is edited and an event should be triggered.
Public delegate SecurityGroupsDataSet.SecurityPrincipleCategoryRelationsRowChangeEventHandler Describes event handler settings for when data associated with a SecurityGroupsDataSet.SecurityPrincipleCategoryRelationsRow is edited and an event should be triggered.
Public delegate SecurityOrganizationalPermissionsDataSet.SecurityOrganizationalPermissionsRowChangeEventHandler Describes event handler settings for when data associated with a SecurityOrganizationalPermissionsDataSet.SecurityOrganizationalPermissionsRow is edited and an event should be triggered.
Public delegate SecurityProjectCategoriesDataSet.GroupPermissionsRowChangeEventHandler Describes event handler settings for when data associated with a SecurityProjectCategoriesDataSet.GroupPermissionsRow is edited and an event should be triggered.
Public delegate SecurityProjectCategoriesDataSet.GroupRelationsRowChangeEventHandler Describes event handler settings for when data associated with a SecurityProjectCategoriesDataSet.GroupRelationsRow is edited and an event should be triggered.
Public delegate SecurityProjectCategoriesDataSet.ProjectCategoriesRowChangeEventHandler Describes event handler settings for when data associated with a SecurityProjectCategoriesDataSet.ProjectCategoriesRow is edited and an event should be triggered.
Public delegate SecurityProjectCategoriesDataSet.UserPermissionsRowChangeEventHandler Describes event handler settings for when data associated with a SecurityProjectCategoriesDataSet.UserPermissionsRow is edited and an event should be triggered.
Public delegate SecurityProjectCategoriesDataSet.UserRelationsRowChangeEventHandler Describes event handler settings for when data associated with a SecurityProjectCategoriesDataSet.UserRelationsRow is edited and an event should be triggered.
Public delegate SecurityTemplatesDataSet.CategoryPermissionsRowChangeEventHandler Describes event handler settings for when data associated with a SecurityTemplatesDataSet.CategoryPermissionsRow is edited and an event should be triggered.
Public delegate SecurityTemplatesDataSet.GlobalPermissionsRowChangeEventHandler Describes event handler settings for when data associated with a SecurityTemplatesDataSet.GlobalPermissionsRow is edited and an event should be triggered.
Public delegate SecurityTemplatesDataSet.SecurityTemplatesRowChangeEventHandler Describes event handler settings for when data associated with a SecurityTemplatesDataSet.SecurityTemplatesRow is edited and an event should be triggered.