Ags.BusinessGroup

g Ags.BusinessGroup Ags.BusinessGroup GObject.GInterface GObject.GInterface GObject.GInterface->Ags.BusinessGroup

Implementations:

Ags.XmlBusinessGroup

Methods

get_group_name (security_context, user_uuid, security_token, group_uuid)

get_group_uuid (security_context, user_uuid, security_token)

get_user (security_context, user_uuid, security_token, group_uuid)

set_group_name (security_context, user_uuid, security_token, group_uuid, group_name)

set_user (security_context, user_uuid, security_token, group_uuid, user)

Virtual Methods

do_get_group_name (security_context, user_uuid, security_token, group_uuid)

do_get_group_uuid (security_context, user_uuid, security_token)

do_get_user (security_context, user_uuid, security_token, group_uuid)

do_set_group_name (security_context, user_uuid, security_token, group_uuid, group_name)

do_set_user (security_context, user_uuid, security_token, group_uuid, user)

Properties

None

Signals

None

Fields

None

Class Details

class Ags.BusinessGroup
Bases:

GObject.GInterface

Structure:

Ags.BusinessGroupInterface

get_group_name(security_context, user_uuid, security_token, group_uuid)
Parameters:
Raises:

GLib.Error

Returns:

the business group’s name as string

Return type:

str

Get business group name.

New in version 3.0.0.

get_group_uuid(security_context, user_uuid, security_token)
Parameters:
Raises:

GLib.Error

Returns:

the group UUIDs as None terminated string array

Return type:

[str]

Get group UUID as string vector.

New in version 3.0.0.

get_user(security_context, user_uuid, security_token, group_uuid)
Parameters:
Raises:

GLib.Error

Returns:

the business group’s user names as string vector

Return type:

[str]

Get business group name as None terminated string array.

New in version 3.0.0.

set_group_name(security_context, user_uuid, security_token, group_uuid, group_name)
Parameters:
  • security_context (GObject.Object) – the Ags.SecurityContext

  • user_uuid (str) – the user’s UUID

  • security_token (str) – the security token

  • group_uuid (str) – the group’s UUID

  • group_name (str) – the business group’s name to set

Raises:

GLib.Error

Set business group name.

New in version 3.0.0.

set_user(security_context, user_uuid, security_token, group_uuid, user)
Parameters:
  • security_context (GObject.Object) – the Ags.SecurityContext

  • user_uuid (str) – the user’s UUID

  • security_token (str) – the security token

  • group_uuid (str) – the business group’s UUID

  • user ([str]) – the string array containing user names

Raises:

GLib.Error

Set business group of user names as None terminated string array.

New in version 3.0.0.

do_get_group_name(security_context, user_uuid, security_token, group_uuid) virtual
Parameters:
Returns:

the business group’s name as string

Return type:

str

Get business group name.

New in version 3.0.0.

do_get_group_uuid(security_context, user_uuid, security_token) virtual
Parameters:
Returns:

the group UUIDs as None terminated string array

Return type:

[str]

Get group UUID as string vector.

New in version 3.0.0.

do_get_user(security_context, user_uuid, security_token, group_uuid) virtual
Parameters:
Returns:

the business group’s user names as string vector

Return type:

[str]

Get business group name as None terminated string array.

New in version 3.0.0.

do_set_group_name(security_context, user_uuid, security_token, group_uuid, group_name) virtual
Parameters:
  • security_context (GObject.Object) – the Ags.SecurityContext

  • user_uuid (str) – the user’s UUID

  • security_token (str) – the security token

  • group_uuid (str) – the group’s UUID

  • group_name (str) – the business group’s name to set

Set business group name.

New in version 3.0.0.

do_set_user(security_context, user_uuid, security_token, group_uuid, user) virtual
Parameters:
  • security_context (GObject.Object) – the Ags.SecurityContext

  • user_uuid (str) – the user’s UUID

  • security_token (str) – the security token

  • group_uuid (str) – the business group’s UUID

  • user ([str]) – the string array containing user names

Set business group of user names as None terminated string array.

New in version 3.0.0.