| ClientUserChangeSetting Method |
Changes the specified setting on the specified user.
Namespace: MOVEit.DMZ.APIAssembly: MOVEit.DMZ.API (in MOVEit.DMZ.API.dll) Version: 9.0.0.0
Syntaxpublic bool UserChangeSetting(
string Username,
string SettingName,
string NewValue
)
Public Function UserChangeSetting (
Username As String,
SettingName As String,
NewValue As String
) As Boolean
public:
bool UserChangeSetting(
String^ Username,
String^ SettingName,
String^ NewValue
)
Parameters
- Username
- Type: SystemString
Username to change setting for. - SettingName
- Type: SystemString
Name of setting to change. - NewValue
- Type: SystemString
Value to apply to setting.
Return Value
Type:
Booleantrue if successful; otherwise,
false.
Remarks
Possible values of SettingName and the appropriate values include:
| authmethod | 20 = MOVEit Only, 10 = External Only, 0 = Both |
| defaultfolder | Any valid MOVEit Transfer folder path |
| email | Any valid email address |
| emailformat | 1 = HTML, 2 = Text |
| exemptfromexpiration | 0 = No, 1 = Yes |
| forcepasswordchange | 0 = No, 1 = Yes |
| language | Any supported international language code |
| notes | Any string |
| notification | 0 = No, 1 = Yes, 2 = Yes+Admin |
| permission | 30 = Admin, 20 = FileAdmin, 10 = User, 6 = TempUser |
| quota | 0 = none, 1-9,223,372,036,854,775,807 = quota size (in bytes) |
| realname | Any string |
See Also