Partager via


Security.ReadProjectCategory - Méthode

Lit les informations de catégorie de projet pour la sécurité web.

Espace de noms :  WebSvcSecurity
Assembly :  ProjectServerServices (dans ProjectServerServices.dll)

Syntaxe

'Déclaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Security/ReadProjectCategory", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Security/",  _
    ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Security/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function ReadProjectCategory ( _
    projUid As Guid _
) As SecurityProjectCategoriesDataSet
'Utilisation
Dim instance As Security
Dim projUid As Guid
Dim returnValue As SecurityProjectCategoriesDataSet

returnValue = instance.ReadProjectCategory(projUid)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Security/ReadProjectCategory", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Security/", 
    ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Security/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public SecurityProjectCategoriesDataSet ReadProjectCategory(
    Guid projUid
)

Paramètres

Valeur renvoyée

Type : WebSvcSecurity.SecurityProjectCategoriesDataSet

Remarques

La fonctionnalité d'autorisations de projet permet aux utilisateurs ou groupes qui ont été accordées à l'autorisation de catégorie « Gérer la sécurité Project base » pour accorder l'accès des utilisateurs et des groupes pour les projets qu'ils possèdent. Elles fonctionnent comme des catégories de sécurité. Pour plus d'informations, voir https://blogs.msdn.com/b/project/archive/2010/03/04/project-2010-project-permissions.aspx.

Pour l'exemple de code, voir CreateProjectCategories.

Autorisations Project Server

Autorisation

Description

Non standard

Vous devez disposer du effectue globale ManageWorkflow ou l'autorisation globale ChangeWorkflow . Si vous avez l'autorisation de ChangeWorkflow , vous devez également l'autorisation de catégorie OpenProject et l'autorisation de catégorie SaveProject .

Voir aussi

Référence

Security classe

Security - Membres

WebSvcSecurity - Espace de noms