LKMod Class Reference
| Inherits from | NSObject |
| Conforms to | NSCopying |
| Declared in | LKMod.h LKMod.m |
Tasks
Object Management Methods
-
– initWithOperation:type:Initialize a new object
-
– initWithOperation:type:value:Initialize a new object
-
– initWithOperation:type:values:Initialize a new object
-
+ modWithOperation:type:Creates a new object
-
+ modWithOperation:type:value:Initialize a new object
-
+ modWithOperation:type:values:Creates a new object
Modifications
-
modOpThe type of modification to perform.
property -
modTypeThe attribute to be modified.
property -
modValuesThe values to add, replace, or delete from an attribute.
property -
– addValue:Add value to list of modifications.
Manager LDAPMod References
-
– newLDAPModAllocate a new LDAPMod reference.
-
+ freeLDAPMod:Frees a LDAPMod reference.
Properties
modOp
The type of modification to perform.
@property (atomic, readonly) LKLdapModOperation modOpDiscussion
| LKLdapModOperation | Description |
|---|---|
| LKLdapModOperationAdd | Add attribute values. |
| LKLdapModOperationDelete | Delete attribute values. |
| LKLdapModOperationReplace | Replace attribute values. |
Declared In
LKMod.hClass Methods
freeLDAPMod:
Frees a LDAPMod reference.
+ (void)freeLDAPMod:(LDAPMod *)modParameters
- mod
The LDAPMod reference to be freed.
Declared In
LKMod.hmodWithOperation:type:
Creates a new object
+ (id)modWithOperation:(LKLdapModOperation)modOp type:(NSString *)modTypeParameters
- modOp
The type of operation to perform on the attribute. See modOp for valid values.
- modType
The attribute to modify.
Declared In
LKMod.hmodWithOperation:type:value:
Initialize a new object
+ (id)modWithOperation:(LKLdapModOperation)modOp type:(NSString *)modType value:(id<NSObject>)modValueParameters
- modOp
The type of operation to perform on the attribute. See modOp for valid values.
- modType
The attribute to modify.
- modValue
The value to delete, add, or replace.
Declared In
LKMod.hmodWithOperation:type:values:
Creates a new object
+ (id)modWithOperation:(LKLdapModOperation)modOp type:(NSString *)modType values:(NSArray *)modValuesParameters
- modOp
The type of operation to perform on the attribute. See modOp for valid values.
- modType
The attribute to modify.
- modValues
The optional values to delete, add, or replace.
Declared In
LKMod.hInstance Methods
addValue:
Add value to list of modifications.
- (void)addValue:(id<NSObject,NSCopying>)modValueParameters
- modValue
Value to append to modification values.
Declared In
LKMod.hinitWithOperation:type:
Initialize a new object
- (id)initWithOperation:(LKLdapModOperation)modOp type:(NSString *)modTypeParameters
- modOp
The type of operation to perform on the attribute. See modOp for valid values.
- modType
The attribute to modify.
Declared In
LKMod.hinitWithOperation:type:value:
Initialize a new object
- (id)initWithOperation:(LKLdapModOperation)modOp type:(NSString *)modType value:(id<NSObject>)modValueParameters
- modOp
The type of operation to perform on the attribute. See modOp for valid values.
- modType
The attribute to modify.
- modValue
The value to delete, add, or replace.
Declared In
LKMod.hinitWithOperation:type:values:
Initialize a new object
- (id)initWithOperation:(LKLdapModOperation)modOp type:(NSString *)modType values:(NSArray *)modValuesParameters
- modOp
The type of operation to perform on the attribute. See modOp for valid values.
- modType
The attribute to modify.
- modValues
The optional values to delete, add, or replace.
Declared In
LKMod.hnewLDAPMod
Allocate a new LDAPMod reference.
- (LDAPMod *)newLDAPModReturn Value
This method returns a pointer to a LDAPMod reference. The
LDAPMod reference must be freed using freeLDAPMod:.
Declared In
LKMod.h