| ActiveDirectoryObjectSetAttribute Method |
Sets attribute of an object. If a null or empty values object is supplied no modifications will be made.
Namespace:
Galactic.ActiveDirectory
Assembly:
Galactic.ActiveDirectory (in Galactic.ActiveDirectory.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax public bool SetAttribute(
string attributeName,
Object[] values
)
Public Function SetAttribute (
attributeName As String,
values As Object()
) As Boolean
public:
bool SetAttribute(
String^ attributeName,
array<Object^>^ values
)
member SetAttribute :
attributeName : string *
values : Object[] -> bool
Parameters
- attributeName
- Type: SystemString
The name of the attribute to set. - values
- Type: SystemObject
The value(s) to set the attribute to.
Return Value
Type:
BooleanTrue if the attribute was set successfully, false otherwise.
See Also