业务用户管理

在开启安全配置情况下,需要对应的权限才可以执行, 如对业务用户进行增删改需要 '管理业务用户', 查看需要 '查看业务用户'

Hierarchy

  • Manager

Properties

addProfilesById: ((id, profiles) => void)

Type declaration

    • (id, profiles): void
    • add profiles to portal user

      Parameters

      • id: string
      • profiles: string[]

        profile id list

      Returns void

checkPassword: ((username, password) => boolean)

Type declaration

    • (username, password): boolean
    • 检查业务用户密码是否正确

      Parameters

      • username: string

        业务用户名

      • password: string

        业务用户密码

      Returns boolean

creatPortalUser: ((portalUser) => PortalUser)

Type declaration

    • (portalUser): PortalUser
    • create portal user

      Parameters

      • portalUser: {
            [key: string]: any;
        }
        • [key: string]: any

      Returns PortalUser

deleteById: ((id) => void)

Type declaration

    • (id): void
    • delete portaluser by id

      Parameters

      • id: string

      Returns void

getByExtIdentityID: ((extIdentityID) => Dict)

Type declaration

    • (extIdentityID): Dict
    • get portal user by extIdentityID

      Parameters

      • extIdentityID: string

      Returns Dict

getById: ((id) => PortalUser)

Type declaration

getByUsername: ((username) => PortalUser)

Type declaration

getByUsernames: ((usernames) => PortalUser[])

Type declaration

    • (usernames): PortalUser[]
    • get portal users by usernames

      Parameters

      • usernames: string[]

      Returns PortalUser[]

getList: ((offset, limit) => PortalUser[])

Type declaration

    • (offset, limit): PortalUser[]
    • get portal user list

      Parameters

      • offset: number
      • limit: number

        total count, max limit is 5000

      Returns PortalUser[]

setProfilesById: ((id, profiles) => void)

Type declaration

    • (id, profiles): void
    • set profiles by id

      Parameters

      • id: string
      • profiles: string[]

        profile id list

      Returns void

setTimezoneById: ((id, timezone) => void)

Type declaration

    • (id, timezone): void
    • set timezone for portal user by id

      Parameters

      • id: string
      • timezone: string

        timezone id

      Returns void