Smartswitch
UserInfo.ice
Go to the documentation of this file.
1 #pragma once
2 
3 [["python:pkgdir:Smartswitch/Peer/UserGeneration"]]
4 
5 #include <Config.ice>
6 
7 #ifdef CONFIG_USER_GENERATION
8 
9 module Smartswitch
10 {
11  module Peer
12  {
13  module UserGeneration
14  {
21  struct UserInfo
22  {
23  long id;
24  string name;
25 #ifdef CONFIG_SIP
26  string sipSecret;
27 #endif
28  string login;
29  string password;
30  string pin;
31 #ifdef CONFIG_PJSIP
32  string pjsipSecret;
33 #endif
34  };
35  sequence<UserInfo> UserInfoSequence;
36  };
37  };
38 };
39 
40 #endif
The information which is returned after generation of a User.
Definition: UserInfo.ice:21
string login
The login for web access.
Definition: UserInfo.ice:28
long id
The unique ID of a User.
Definition: UserInfo.ice:23
string pin
The PIN used for DTMF authentication.
Definition: UserInfo.ice:30
string password
The password for web access.
Definition: UserInfo.ice:29
string name
The name of a User.
Definition: UserInfo.ice:24
Definition: AccessException.ice:7
string sipSecret
The secret used for SIP authentication.
Definition: UserInfo.ice:26
string pjsipSecret
The secret used for PJSIP authentication.
Definition: UserInfo.ice:32
sequence< UserInfo > UserInfoSequence
Definition: UserInfo.ice:35