>LOCAL loUser, loSchema > >loUser= GETOBJECT("WinNT://myServer/myName,user") >loSchema= GETOBJECT(loUser.schema) > >FOR EACH p IN loSchema.MandatoryProperties > ? "Mantitory: " + p >NEXT > >FOR EACH p IN loSchema.OptionalProperties > ? "Optional: " + p >NEXTIf there are no mandatory or optional properties assigned for this object, you'll get the described error. You need to check the type of the property before trying to iterate it.