X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethods%2FAdmGetPersonRoles.py;h=e05f9552f0f33253420d39e7011983cb41c72b47;hb=238d5594712b9d918636501e754a8f5816313e25;hp=024b93cee59267fea14d680e8a9c50dd4b18a420;hpb=b0d2dea38d0136e256330b561ec1c6efd652f4dc;p=plcapi.git diff --git a/PLC/Methods/AdmGetPersonRoles.py b/PLC/Methods/AdmGetPersonRoles.py index 024b93ce..e05f9552 100644 --- a/PLC/Methods/AdmGetPersonRoles.py +++ b/PLC/Methods/AdmGetPersonRoles.py @@ -33,6 +33,8 @@ class AdmGetPersonRoles(Method): returns = dict + object_type = 'Person' + def call(self, auth, person_id_or_email): # Get account information persons = Persons(self.api, [person_id_or_email])