Ejemplo n.º 1
0
 public StatusInfo UpdateAclFieldWithPasscode(string aclId, AclFieldId fieldId, string value, bool isPasscodeRequired)
 {
     return(UpdateAclFieldWithPasscode(aclId, fieldId.ToXmlString(), value, isPasscodeRequired));
 }
Ejemplo n.º 2
0
 public StatusInfo UpdateAclField(string aclId, AclFieldId fieldId, string value)
 {
     return(UpdateAclField(aclId, fieldId.ToXmlString(), value));
 }
Ejemplo n.º 3
0
        /// <summary>
        /// The get ACL field.
        /// </summary>
        /// <param name="aclId">
        /// The ACL id.
        /// </param>
        /// <param name="fieldId">
        /// The field id.
        /// </param>
        /// <returns>
        /// The <see cref="FieldResult"/>.
        /// </returns>
        public FieldResult GetAclField(string aclId, AclFieldId fieldId)
        {
            StatusInfo status;

            var result = this.requestProcessor.Process(Commands.Sco.FieldInfo, string.Format(CommandParams.Features.FieldInfo, aclId, fieldId.ToXmlString()), out status);

            return(ResponseIsOk(result, status)
                ? new FieldResult(status, FieldValueParser.Parse(result))
                : new FieldResult(status));
        }