| SecurityPrincipalAddProxyAddress Method |
Adds a proxy e-mail address to the account's proxyAddresses field.
Namespace:
Galactic.ActiveDirectory
Assembly:
Galactic.ActiveDirectory (in Galactic.ActiveDirectory.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax public bool AddProxyAddress(
string emailAddress,
bool asPrimary = false
)
Public Function AddProxyAddress (
emailAddress As String,
Optional asPrimary As Boolean = false
) As Boolean
public:
bool AddProxyAddress(
String^ emailAddress,
bool asPrimary = false
)
member AddProxyAddress :
emailAddress : string *
?asPrimary : bool
(* Defaults:
let _asPrimary = defaultArg asPrimary false
*)
-> bool
Parameters
- emailAddress
- Type: SystemString
The address in standard e-mail format (username@domain.com) - asPrimary (Optional)
- Type: SystemBoolean
If the address should be added as the primary proxy address.
Return Value
Type:
BooleanTrue if the address was added, false otherwise.
See Also