summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/Type/ConnectingSIDType.php
blob: 93a61ff9fbbe8b0522044c2197621f03f475c775 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?php
/**
 * Contains \jamesiarmes\PhpEws\Type\ConnectingSIDType.
 */

namespace jamesiarmes\PhpEws\Type;

use \jamesiarmes\PhpEws\Type;

/**
 * Represents an account to impersonate when you are using the
 * ExchangeImpersonation SOAP header.
 *
 * @package php-ews\Type
 */
class ConnectingSIDType extends Type
{
    /**
     * Represents the primary Simple Mail Transfer Protocol (SMTP) address of
     * the account to use for Exchange impersonation.
     *
     * If the primary SMTP address is supplied, it will cost an extra Active
     * Directory directory service lookup in order to obtain the SID of the
     * user. We recommend that you use the SID or UPN if they are available.
     *
     * @since Exchange 2007
     *
     * @var string
     */
    public $PrimarySmtpAddress;

    /**
     * Represents the user principal name (UPN) of the account to use for
     * impersonation.
     *
     * This should be the UPN for the domain where the user account exists.
     *
     * @since Exchange 2007
     *
     * @var string
     */
    public $PrincipalName;

    /**
     * Represents the security descriptor definition language (SDDL) form of the
     * security identifier (SID) for the account to use for impersonation.
     *
     * @since Exchange 2007
     *
     * @var string
     */
    public $SID;

    /**
     * Represents the Simple Mail Transfer Protocol (SMTP) address of the
     * account to use for Exchange Impersonation.
     *
     * If the SMTP address is supplied, it will cost an extra Active Directory
     * lookup in order to obtain the SID of the user. We recommend that you use
     * the SID or UPN if they are available.
     *
     * @since Exchange 2010
     *
     * @var string
     */
    public $SmtpAddress;
}