[get]
[get]
[set]
| typedef enum IAccCommand::AccCommandFlags IAccCommand::AccCommandFlags |
Values for AccCommandProp_Flags. If both AccCommandFlags_BuddyUi and AccCommandFlags_GroupUi are set and the UI selection contains both buddies and groups, clients should pass only user names to QueryStatus() and Exec(). Clients should never pass a mix of both user and group names.
| typedef enum IAccCommand::AccCommandProp IAccCommand::AccCommandProp |
Properties for the Property method.
Values for AccCommandProp_Flags. If both AccCommandFlags_BuddyUi and AccCommandFlags_GroupUi are set and the UI selection contains both buddies and groups, clients should pass only user names to QueryStatus() and Exec(). Clients should never pass a mix of both user and group names.
Properties for the Property method.
| HRESULT IAccCommand::QueryStatus | ( | [in] xp_kvariant | names, | |
| [out, retval] xp_vbool * | enabled | |||
| ) |
Indicates whether this command could be executed on specified users or groups. If an error is returned, or "enabled" is false, the command would not be allowed, so it should be disabled in the user interface. If AccCommandFlags_GroupUi is set, "names" should contain group names; otherwise, it should contain user names.
| HRESULT IAccCommand::Exec | ( | [in] xp_kvariant | names | ) |
Executes the command on the specified users or groups. If AccCommandFlags_GroupUi is set, "names" should contain group names; otherwise, it should contain user names.
xp_int IAccCommand::Id [get] |
Gets command id.
| xp_variant IAccCommand::Property( [in] AccCommandProp property) | ( | [in] AccCommandProp | property | ) | [get] |
Gets the specified property for a command.
| xp_kvariant IAccCommand::Property( [in] AccCommandProp property) | ( | [in] AccCommandProp | property | ) | [set] |
Sets the specified property for a command.