使用BlackBerry Administrator API在BlackBerry企业服务器上创建角色?

使用BlackBerry Administrator API在BlackBerry企业服务器上创建角色?,blackberry,wsdl,Blackberry,Wsdl,根据文档,在BlackBerry管理员API上创建管理员用户非常容易。必须为所有管理员用户分配一个角色,使用python和SUD可以轻松查找角色示例: organisation_id = 0 locale = 'en_US' display_name = 'Mac Chapman' username = 'maccy' password = 'password' role_id = None for role in ws.service.findRoles(organisation_id, lo

根据文档,在BlackBerry管理员API上创建管理员用户非常容易。必须为所有管理员用户分配一个角色,使用python和SUD可以轻松查找角色示例:

organisation_id = 0
locale = 'en_US'
display_name = 'Mac Chapman'
username = 'maccy'
password = 'password'
role_id = None
for role in ws.service.findRoles(organisation_id, locale).roles:
    if role.localeNameAndDescription[0].name == 'Security Administrator':
        role_id = role.roleId
print ws.service.createBASAuthenticatedAdministratorUser(organisation_id, display_name, role_id, username, password)
但我一辈子都不知道如何在API中创建新角色。可能吗