Class UsersResource.SettingsResource.SendAsResource.SmimeInfoResource
The "smimeInfo" collection of methods.
public class UsersResource.SettingsResource.SendAsResource.SmimeInfoResource
- Inheritance
-
UsersResource.SettingsResource.SendAsResource.SmimeInfoResource
- Inherited Members
Constructors
SmimeInfoResource(IClientService)
Constructs a new resource.
public SmimeInfoResource(IClientService service)
Parameters
service
IClientService
Methods
Delete(string, string, string)
Deletes the specified S/MIME config for the specified send-as alias.
public virtual UsersResource.SettingsResource.SendAsResource.SmimeInfoResource.DeleteRequest Delete(string userId, string sendAsEmail, string id)
Parameters
userId
stringThe user's email address. The special value
me
can be used to indicate the authenticated user.sendAsEmail
stringThe email address that appears in the "From:" header for mail sent using this alias.
id
stringThe immutable ID for the SmimeInfo.
Returns
Get(string, string, string)
Gets the specified S/MIME config for the specified send-as alias.
public virtual UsersResource.SettingsResource.SendAsResource.SmimeInfoResource.GetRequest Get(string userId, string sendAsEmail, string id)
Parameters
userId
stringThe user's email address. The special value
me
can be used to indicate the authenticated user.sendAsEmail
stringThe email address that appears in the "From:" header for mail sent using this alias.
id
stringThe immutable ID for the SmimeInfo.
Returns
Insert(SmimeInfo, string, string)
Insert (upload) the given S/MIME config for the specified send-as alias. Note that pkcs12 format is required for the key.
public virtual UsersResource.SettingsResource.SendAsResource.SmimeInfoResource.InsertRequest Insert(SmimeInfo body, string userId, string sendAsEmail)
Parameters
body
SmimeInfoThe body of the request.
userId
stringThe user's email address. The special value
me
can be used to indicate the authenticated user.sendAsEmail
stringThe email address that appears in the "From:" header for mail sent using this alias.
Returns
List(string, string)
Lists S/MIME configs for the specified send-as alias.
public virtual UsersResource.SettingsResource.SendAsResource.SmimeInfoResource.ListRequest List(string userId, string sendAsEmail)
Parameters
userId
stringThe user's email address. The special value
me
can be used to indicate the authenticated user.sendAsEmail
stringThe email address that appears in the "From:" header for mail sent using this alias.
Returns
SetDefault(string, string, string)
Sets the default S/MIME config for the specified send-as alias.
public virtual UsersResource.SettingsResource.SendAsResource.SmimeInfoResource.SetDefaultRequest SetDefault(string userId, string sendAsEmail, string id)
Parameters
userId
stringThe user's email address. The special value
me
can be used to indicate the authenticated user.sendAsEmail
stringThe email address that appears in the "From:" header for mail sent using this alias.
id
stringThe immutable ID for the SmimeInfo.